[webbeans-commits] Webbeans SVN: r2104 - tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/lookup/injection/session.

webbeans-commits at lists.jboss.org webbeans-commits at lists.jboss.org
Wed Mar 18 21:19:23 EDT 2009


Author: shane.bryzak at jboss.com
Date: 2009-03-18 21:19:23 -0400 (Wed, 18 Mar 2009)
New Revision: 2104

Modified:
   tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/lookup/injection/session/DeluxeHenHouse.java
   tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/lookup/injection/session/Fox.java
   tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/lookup/injection/session/SessionBeanInjectionTest.java
Log:
session bean injection test

Modified: tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/lookup/injection/session/DeluxeHenHouse.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/lookup/injection/session/DeluxeHenHouse.java	2009-03-18 22:25:23 UTC (rev 2103)
+++ tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/lookup/injection/session/DeluxeHenHouse.java	2009-03-19 01:19:23 UTC (rev 2104)
@@ -2,16 +2,13 @@
 
 import javax.ejb.Remove;
 import javax.ejb.Stateful;
-import javax.inject.Production;
 
- at Production
 @Stateful
-public class DeluxeHenHouse /*extends HenHouse */implements HenHouseLocal
+public class DeluxeHenHouse extends HenHouse implements HenHouseLocal
 {
    public Fox getFox()
    {
-      //return fox;
-      return null;
+      return fox;
    }
    
    @Remove

Modified: tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/lookup/injection/session/Fox.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/lookup/injection/session/Fox.java	2009-03-18 22:25:23 UTC (rev 2103)
+++ tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/lookup/injection/session/Fox.java	2009-03-19 01:19:23 UTC (rev 2104)
@@ -5,7 +5,7 @@
 import javax.context.Dependent;
 
 @Dependent
-class Fox implements Serializable
+public class Fox implements Serializable
 {
    public String getName()
    {

Modified: tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/lookup/injection/session/SessionBeanInjectionTest.java
===================================================================
--- tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/lookup/injection/session/SessionBeanInjectionTest.java	2009-03-18 22:25:23 UTC (rev 2103)
+++ tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/lookup/injection/session/SessionBeanInjectionTest.java	2009-03-19 01:19:23 UTC (rev 2104)
@@ -19,7 +19,7 @@
 @Packaging(PackagingType.EAR)
 public class SessionBeanInjectionTest extends AbstractJSR299Test
 {   
-   @Test//(groups = "broken")
+   @Test
    @SpecAssertion(section = "4.2", id = "ab")
    public void testFieldDeclaredInSessionBeanSuperclassInjected() throws Exception
    {




More information about the weld-commits mailing list