@Romain

https://github.com/johnament/deltaspike/blob/master/deltaspike/modules/beanval/impl/src/test/java/org/apache/deltaspike/beanval/test/InjectedValidationTest.java

When the validator here is @Inject rather than created using @Before, it's
not injected in the test case.

John


On Wed, Jun 12, 2013 at 12:37 AM, Romain Manni-Bucau
<[email protected]>wrote:

> Hi
>
> It is supported and tested.
>
> What's your case?
> Le 12 juin 2013 06:09, "Howard W. Smith, Jr." <[email protected]> a
> écrit :
>
> > John,
> >
> > Wow, this is a coincidence and interesting. We have been discussing
> > TomEE/CDI topics, and now you bring this up. Please click the following
> URL
> > and read that. :)
> >
> > http://code.google.com/p/omnifaces/issues/detail?id=183
> >
> > Howard
> >
> >
> >
> >
> > On Tue, Jun 11, 2013 at 10:23 PM, John D. Ament <[email protected]
> > >wrote:
> >
> > > Hi all
> > >
> > > In section 3.6 of the CDI spec, it indicates that the Validator
> > > (javax.validation.Validator) should be a built in bean, meaning the
> > > container should support injection of it.  I was testing something
> > locally
> > > and i noticed that TomEE wasn't injecting this object.
> > >
> > > Is this expected?
> > >
> > > John
> > >
> >
>

Reply via email to