[weld-commits] Weld SVN: r5493 - cdi-tck/branches/1.0/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/producer/method/definition/enterprise.

weld-commits at lists.jboss.org weld-commits at lists.jboss.org
Mon Jan 18 17:17:52 EST 2010


Author: pete.muir at jboss.org
Date: 2010-01-18 17:17:52 -0500 (Mon, 18 Jan 2010)
New Revision: 5493

Modified:
   cdi-tck/branches/1.0/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/producer/method/definition/enterprise/AndalusianChickenLocal.java
   cdi-tck/branches/1.0/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/producer/method/definition/enterprise/EnterpriseProducerMethodDefinitionTest.java
Log:
CDITCK-79

Modified: cdi-tck/branches/1.0/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/producer/method/definition/enterprise/AndalusianChickenLocal.java
===================================================================
--- cdi-tck/branches/1.0/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/producer/method/definition/enterprise/AndalusianChickenLocal.java	2010-01-18 19:56:40 UTC (rev 5492)
+++ cdi-tck/branches/1.0/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/producer/method/definition/enterprise/AndalusianChickenLocal.java	2010-01-18 22:17:52 UTC (rev 5493)
@@ -3,7 +3,7 @@
 import javax.ejb.Local;
 
 @Local
-public interface AndalusianChickenLocal
+public interface AndalusianChickenLocal extends ChickenLocal
 {
 
 }

Modified: cdi-tck/branches/1.0/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/producer/method/definition/enterprise/EnterpriseProducerMethodDefinitionTest.java
===================================================================
--- cdi-tck/branches/1.0/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/producer/method/definition/enterprise/EnterpriseProducerMethodDefinitionTest.java	2010-01-18 19:56:40 UTC (rev 5492)
+++ cdi-tck/branches/1.0/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/producer/method/definition/enterprise/EnterpriseProducerMethodDefinitionTest.java	2010-01-18 22:17:52 UTC (rev 5493)
@@ -27,7 +27,7 @@
    public void testNonStaticProducerMethodInheritedBySpecializingSubclass()
    {
       assert getBeans(Egg.class, new AnnotationLiteral<Yummy>() {}).size() == 1;
-      assert getInstanceByType(Egg.class,new AnnotationLiteral<Yummy>() {}).getMother().getClass().equals(AndalusianChicken.class);
+      assert getInstanceByType(Egg.class,new AnnotationLiteral<Yummy>() {}).getMother() instanceof AndalusianChickenLocal;
    }
    
    @Test
@@ -35,7 +35,7 @@
    public void testNonStaticProducerMethodNotInherited()
    {
       assert getBeans(Apple.class, new AnnotationLiteral<Yummy>() {}).size() == 1;
-      assert getInstanceByType(Apple.class,new AnnotationLiteral<Yummy>() {}).getTree().getClass().equals(AppleTree.class);      
+      assert getInstanceByType(Apple.class,new AnnotationLiteral<Yummy>() {}).getTree() instanceof AppleTreeLocal;      
    }
    
    @Test



More information about the weld-commits mailing list