Author: pete.muir(a)jboss.org
Date: 2009-03-30 08:29:03 -0400 (Mon, 30 Mar 2009)
New Revision: 2270
Removed:
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/deployment/lifecycle/fail/Bean_Broken.java
Modified:
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/deployment/lifecycle/fail/BrokenInitializerBean.java
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/deployment/lifecycle/fail/ManagerObserver.java
Log:
WBRI-213
Deleted:
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/deployment/lifecycle/fail/Bean_Broken.java
===================================================================
---
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/deployment/lifecycle/fail/Bean_Broken.java 2009-03-30
12:19:59 UTC (rev 2269)
+++
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/deployment/lifecycle/fail/Bean_Broken.java 2009-03-30
12:29:03 UTC (rev 2270)
@@ -1,9 +0,0 @@
-package org.jboss.jsr299.tck.tests.deployment.lifecycle.fail;
-
-import javax.inject.Production;
-
-@Production
-class Bean_Broken<T>
-{
-
-}
Modified:
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/deployment/lifecycle/fail/BrokenInitializerBean.java
===================================================================
---
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/deployment/lifecycle/fail/BrokenInitializerBean.java 2009-03-30
12:19:59 UTC (rev 2269)
+++
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/deployment/lifecycle/fail/BrokenInitializerBean.java 2009-03-30
12:29:03 UTC (rev 2270)
@@ -1,11 +1,12 @@
package org.jboss.jsr299.tck.tests.deployment.lifecycle.fail;
+import javax.event.Observes;
import javax.inject.Initializer;
class BrokenInitializerBean
{
@Initializer
- public <T> void initialize(Bean_Broken<T> farmer)
+ public void initialize(@Observes String string)
{
}
Modified:
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/deployment/lifecycle/fail/ManagerObserver.java
===================================================================
---
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/deployment/lifecycle/fail/ManagerObserver.java 2009-03-30
12:19:59 UTC (rev 2269)
+++
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/deployment/lifecycle/fail/ManagerObserver.java 2009-03-30
12:29:03 UTC (rev 2270)
@@ -8,6 +8,6 @@
{
public void managerInitialized(@Observes @Initialized Manager manager)
{
- throw new IllegalStateException("Deployment should have already
failed!");
+ assert false : "Deployment should already have failed";
}
}
Show replies by date