Weld SVN: r7145 - in cdi-tck/branches/1.0/impl/src/main/java/org/jboss/jsr299/tck/tests/extensions/observer: broken/definitionError and 1 other directories.
by weld-commits@lists.jboss.org
Author: pete.muir(a)jboss.org
Date: 2010-12-15 07:24:42 -0500 (Wed, 15 Dec 2010)
New Revision: 7145
Modified:
cdi-tck/branches/1.0/impl/src/main/java/org/jboss/jsr299/tck/tests/extensions/observer/ProcessObserverMethodObserver.java
cdi-tck/branches/1.0/impl/src/main/java/org/jboss/jsr299/tck/tests/extensions/observer/broken/definitionError/ProcessObserverMethodObserver.java
cdi-tck/branches/1.0/impl/src/main/java/org/jboss/jsr299/tck/tests/extensions/observer/broken/exception/ProcessObserverMethodObserver.java
Log:
CDITCK-199
Modified: cdi-tck/branches/1.0/impl/src/main/java/org/jboss/jsr299/tck/tests/extensions/observer/ProcessObserverMethodObserver.java
===================================================================
--- cdi-tck/branches/1.0/impl/src/main/java/org/jboss/jsr299/tck/tests/extensions/observer/ProcessObserverMethodObserver.java 2010-12-15 10:26:12 UTC (rev 7144)
+++ cdi-tck/branches/1.0/impl/src/main/java/org/jboss/jsr299/tck/tests/extensions/observer/ProcessObserverMethodObserver.java 2010-12-15 12:24:42 UTC (rev 7145)
@@ -38,7 +38,7 @@
observerMethod = null;
}
- public void observeObserverMethodForEventA(@Observes ProcessObserverMethod<EventAObserver, EventA> event)
+ public void observeObserverMethodForEventA(@Observes ProcessObserverMethod<EventA, EventAObserver> event)
{
eventTypes.add(event.getObserverMethod().getObservedType());
annotatedMethod = event.getAnnotatedMethod();
Modified: cdi-tck/branches/1.0/impl/src/main/java/org/jboss/jsr299/tck/tests/extensions/observer/broken/definitionError/ProcessObserverMethodObserver.java
===================================================================
--- cdi-tck/branches/1.0/impl/src/main/java/org/jboss/jsr299/tck/tests/extensions/observer/broken/definitionError/ProcessObserverMethodObserver.java 2010-12-15 10:26:12 UTC (rev 7144)
+++ cdi-tck/branches/1.0/impl/src/main/java/org/jboss/jsr299/tck/tests/extensions/observer/broken/definitionError/ProcessObserverMethodObserver.java 2010-12-15 12:24:42 UTC (rev 7145)
@@ -23,7 +23,7 @@
class ProcessObserverMethodObserver implements Extension
{
- public void observeObserverMethodForEventB(@Observes ProcessObserverMethod<?, EventB> event)
+ public void observeObserverMethodForEventB(@Observes ProcessObserverMethod<EventB, ?> event)
{
event.addDefinitionError(new RuntimeException("Definition error for EventB"));
}
Modified: cdi-tck/branches/1.0/impl/src/main/java/org/jboss/jsr299/tck/tests/extensions/observer/broken/exception/ProcessObserverMethodObserver.java
===================================================================
--- cdi-tck/branches/1.0/impl/src/main/java/org/jboss/jsr299/tck/tests/extensions/observer/broken/exception/ProcessObserverMethodObserver.java 2010-12-15 10:26:12 UTC (rev 7144)
+++ cdi-tck/branches/1.0/impl/src/main/java/org/jboss/jsr299/tck/tests/extensions/observer/broken/exception/ProcessObserverMethodObserver.java 2010-12-15 12:24:42 UTC (rev 7145)
@@ -22,7 +22,7 @@
class ProcessObserverMethodObserver implements Extension
{
- public void observeObserverMethodForEventC(@Observes ProcessObserverMethod<?, EventC> event)
+ public void observeObserverMethodForEventC(@Observes ProcessObserverMethod<EventC, ?> event)
{
throw new RuntimeException("Definition error for EventC");
}