Author: ozizka(a)redhat.com
Date: 2009-06-16 16:10:07 -0400 (Tue, 16 Jun 2009)
New Revision: 532
Modified:
trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/ApplicationTestBaseAS5.java
Log:
AS5 test base updated.
Modified: trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/ApplicationTestBaseAS5.java
===================================================================
---
trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/ApplicationTestBaseAS5.java 2009-06-16
18:27:40 UTC (rev 531)
+++
trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/ApplicationTestBaseAS5.java 2009-06-16
20:10:07 UTC (rev 532)
@@ -105,7 +105,11 @@
// Returns org.jboss.deployers.spi.DeploymentState.
Object state = jmxServer.getAttribute(deploymentMBean, "State");
log.info("State is '"+state.toString()+"'.");
- return "DEPLOYED".equals(state.toString()) ||
"3".equals(state.toString());
+ return
+ "DEPLOYED".equals(state.toString()) // AS 4
+ || "3".equals(state.toString()) // AS 5; StateString =
"Deployed"
+ || "8".equals(state.toString()) // EJB: "Registered"
+ ;
}
Show replies by date