[weld-commits] Weld SVN: r5713 - java-se/trunk/src/test/java/org/jboss/weld/environment/se/test/events.
weld-commits at lists.jboss.org
weld-commits at lists.jboss.org
Tue Feb 2 11:35:29 EST 2010
Author: pete.muir at jboss.org
Date: 2010-02-02 11:35:29 -0500 (Tue, 02 Feb 2010)
New Revision: 5713
Modified:
java-se/trunk/src/test/java/org/jboss/weld/environment/se/test/events/Foo.java
Log:
oops
Modified: java-se/trunk/src/test/java/org/jboss/weld/environment/se/test/events/Foo.java
===================================================================
--- java-se/trunk/src/test/java/org/jboss/weld/environment/se/test/events/Foo.java 2010-02-02 16:32:29 UTC (rev 5712)
+++ java-se/trunk/src/test/java/org/jboss/weld/environment/se/test/events/Foo.java 2010-02-02 16:35:29 UTC (rev 5713)
@@ -11,12 +11,19 @@
{
private static boolean observedEventTest;
+ private static boolean observedContainerInitialized;
public static void reset()
{
observedEventTest = false;
+ observedContainerInitialized = false;
}
+ public static boolean isObservedContainerInitialized()
+ {
+ return observedContainerInitialized;
+ }
+
public static boolean isObservedEventTest()
{
return observedEventTest;
@@ -29,11 +36,12 @@
public void start(@Observes ContainerInitialized event, ShutdownManager shutdownManager)
{
eventTest.fire(new Bar());
+ observedContainerInitialized = true;
}
public void observeEventTest(@Observes @EventQualifier2 Bar eventTest)
{
- this.observedEventTest = true;
+ observedEventTest = true;
}
}
More information about the weld-commits
mailing list