make it a cdi bean, there is no
> difference.
>
>
>
> Regards
>
> Dirk
>
>
>
>
>
>
>
>
>
> *Von:* Gerhard Petracek [mailto:gerhard.petra...@gmail.com]
> *Gesendet:* Freitag, 3. Januar 2014 12:00
> *An:* dev@deltaspike.apache.org
> *Betreff:*
o
> difference.
>
>
>
> Regards
>
> Dirk
>
>
>
>
>
>
>
>
>
> *Von:* Gerhard Petracek [mailto:gerhard.petra...@gmail.com]
> *Gesendet:* Freitag, 3. Januar 2014 12:00
> *An:* dev@deltaspike.apache.org
> *Betreff:* Re: Test-Control injects in test cl
short addition:
i've added a test for it and it looks fine here (see [1]).
fyi - basically there are two "modes":
#1 the test-class is a cdi-bean as well
(src/test/resources/META-INF/beans.xml is needed)
#2 the test-class isn't a cdi-bean (due to a missing beans.xml or @Typed()
or @Exclude,...) -
hi dirk,
deltaspike just delegates the injection to the cdi-container.
regards,
gerhard
2014/1/3 Dirk Weil
> Hi!
>
>
>
> I've just come around Test-Control - great module, simplifies in-container
> testing a lot. But I discovered one thing and I'm not sure if it's intended
> or a bug:
>
>
>