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

weld-commits at lists.jboss.org weld-commits at lists.jboss.org
Tue Jan 19 11:19:13 EST 2010


Author: pete.muir at jboss.org
Date: 2010-01-19 11:19:13 -0500 (Tue, 19 Jan 2010)
New Revision: 5516

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

Modified: cdi-tck/branches/1.0/impl/src/main/java/org/jboss/jsr299/tck/tests/policy/PolicyAvailabilityTest.java
===================================================================
--- cdi-tck/branches/1.0/impl/src/main/java/org/jboss/jsr299/tck/tests/policy/PolicyAvailabilityTest.java	2010-01-19 15:52:19 UTC (rev 5515)
+++ cdi-tck/branches/1.0/impl/src/main/java/org/jboss/jsr299/tck/tests/policy/PolicyAvailabilityTest.java	2010-01-19 16:19:13 UTC (rev 5516)
@@ -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