Author: pete.muir(a)jboss.org
Date: 2009-03-13 19:18:31 -0400 (Fri, 13 Mar 2009)
New Revision: 1985
Modified:
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/context/dependent/DependentContextTest.java
Log:
call method on bean before destroy
Modified:
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/context/dependent/DependentContextTest.java
===================================================================
---
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/context/dependent/DependentContextTest.java 2009-03-13
21:45:50 UTC (rev 1984)
+++
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/context/dependent/DependentContextTest.java 2009-03-13
23:18:31 UTC (rev 1985)
@@ -288,6 +288,7 @@
assert getCurrentManager().resolveByType(Farm.class).size() == 1;
Bean<Farm> farmBean =
getCurrentManager().resolveByType(Farm.class).iterator().next();
Farm farm = getCurrentManager().getInstanceByType(Farm.class);
+ farm.open();
Stable.destroyed = false;
Horse.destroyed = false;
farmBean.destroy(farm);
Show replies by date