[weld-commits] Weld SVN: r5607 - cdi-tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/policy.

weld-commits at lists.jboss.org weld-commits at lists.jboss.org
Fri Jan 22 11:52:33 EST 2010


Author: pete.muir at jboss.org
Date: 2010-01-22 11:52:32 -0500 (Fri, 22 Jan 2010)
New Revision: 5607

Modified:
   cdi-tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/policy/PolicyAvailabilityTest.java
Log:
port CDITCK-89 to trunk

Modified: cdi-tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/policy/PolicyAvailabilityTest.java
===================================================================
--- cdi-tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/policy/PolicyAvailabilityTest.java	2010-01-22 16:51:32 UTC (rev 5606)
+++ cdi-tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/policy/PolicyAvailabilityTest.java	2010-01-22 16:52:32 UTC (rev 5607)
@@ -92,7 +92,7 @@
    public void testProducerPoliciesOnClass() throws Exception
    {
       assert getBeans(Sheep.class, new AnnotationLiteral<Wild>(){}).size() == 2;
-      assert getBeans(Sheep.class, new AnnotationLiteral<Tame>(){}).size() == 2;
+      assert getBeans(Sheep.class, new AnnotationLiteral<Tame>(){}).size() == 0;
    }
    
    @Test
@@ -103,6 +103,6 @@
    public void testProducerPoliciesOnMethodAndField() throws Exception
    {
       assert getBeans(Cat.class, new AnnotationLiteral<Wild>(){}).size() == 2;
-      assert getBeans(Cat.class, new AnnotationLiteral<Tame>(){}).size() == 2;
+      assert getBeans(Cat.class, new AnnotationLiteral<Tame>(){}).size() == 0;
    }
 }



More information about the weld-commits mailing list