[webbeans-dev] DependentContextTest - testDestroyingSimpleParentDestroysDependents
Pete Muir
pmuir at redhat.com
Fri Mar 13 19:18:36 EDT 2009
Yeah, this is not well defined by the spec so we should call a method
on the bean to ensure it is instantiated. I fixed this test, but
please open WBTCK issues for any others you find like this.
On 13 Mar 2009, at 20:19, Gurkan Erdogdu wrote:
> Hi,
>
> In the above test,
>
> @RequestScoped
> class Farm
> {
>
> @Current Stable stable;
>
> public void open() {};
>
> }
>
>
> Farm has normal scope, so we do not create its instance before any
> of its method is called. Therefore we do not inject fields of the
> Farm. But in the test case, it is assumed to create Farm instance
> and inject fields. So test fails in our implementation.
>
> Is this normal?
>
> Thanks;
>
> Gurkan
>
> _______________________________________________
> webbeans-dev mailing list
> webbeans-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/webbeans-dev
--
Pete Muir
http://www.seamframework.org
http://in.relation.to/Bloggers/Pete
More information about the weld-dev
mailing list