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

weld-commits at lists.jboss.org weld-commits at lists.jboss.org
Tue Nov 3 19:16:57 EST 2009


Author: pete.muir at jboss.org
Date: 2009-11-03 19:16:57 -0500 (Tue, 03 Nov 2009)
New Revision: 4641

Modified:
   cdi-tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/event/observer/ObserverTest.java
Log:
WELD-226

Modified: cdi-tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/event/observer/ObserverTest.java
===================================================================
--- cdi-tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/event/observer/ObserverTest.java	2009-11-03 22:31:19 UTC (rev 4640)
+++ cdi-tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/event/observer/ObserverTest.java	2009-11-04 00:16:57 UTC (rev 4641)
@@ -7,7 +7,6 @@
 import javax.enterprise.inject.spi.ObserverMethod;
 
 import org.jboss.jsr299.tck.AbstractJSR299Test;
-import org.jboss.jsr299.tck.literals.DefaultLiteral;
 import org.jboss.test.audit.annotations.SpecAssertion;
 import org.jboss.test.audit.annotations.SpecAssertions;
 import org.jboss.test.audit.annotations.SpecVersion;
@@ -75,8 +74,7 @@
       Set<ObserverMethod<? super StockPrice>> observers = getCurrentManager().resolveObserverMethods(new StockPrice());
       assert observers.size() == 1;
       ObserverMethod<?> observerMethod = observers.iterator().next();
-      assert observerMethod.getObservedQualifiers().size() == 1;
-      assert observerMethod.getObservedQualifiers().contains(new DefaultLiteral());
+      assert observerMethod.getObservedQualifiers().isEmpty();
    }
 
    @Test(groups = { "events" })



More information about the weld-commits mailing list