Author: smcgowan(a)redhat.com
Date: 2009-05-30 09:36:34 -0400 (Sat, 30 May 2009)
New Revision: 484
Modified:
trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/AppConstants.java
trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/HelloJoprTest.java
Log:
more test updates due to EMBJOPR-177
Modified: trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/AppConstants.java
===================================================================
--- trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/AppConstants.java 2009-05-28
19:38:38 UTC (rev 483)
+++ trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/AppConstants.java 2009-05-30
13:36:34 UTC (rev 484)
@@ -202,7 +202,7 @@
};
// Status Messages
- public static final String EJB2_DEL_MSG = "Successfully deleted EJB 2.x
Application (EJB JAR)";
- public static final String EJB3_DEL_MSG = "Successfully deleted EJB 3.x
Application (EJB JAR)";
+ public static final String EJB2_DEL_MSG = "Successfully deleted EJB2 JAR";
+ public static final String EJB3_DEL_MSG = "Successfully deleted EJB3 JAR";
}
Modified: trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/HelloJoprTest.java
===================================================================
--- trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/HelloJoprTest.java 2009-05-28
19:38:38 UTC (rev 483)
+++ trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/HelloJoprTest.java 2009-05-30
13:36:34 UTC (rev 484)
@@ -103,7 +103,7 @@
EmbJoprTestToolkit ejtt = new EmbJoprTestToolkit(client, server);
// Click the nav tree.
- String linkLabel = "Web Application (WAR)s";
+ String linkLabel = "WARs";
//HtmlAnchor warLink = getNavTreeLink(linkLabel);
HtmlAnchor warLink = ejtt.navTree.getNodeLink(linkLabel);
warLink.click();
@@ -142,9 +142,7 @@
HtmlButtonInput deleteButton = getDeleteButton("hellothere.war");
deleteButton.click();
- // This assert doesn't work. jopr does remove the WAR, but for some
- // reason, JBoss doesn't undeploy the MBeans
- //assertFalse(isWarDeployed("hellothere.war"));
+ assertFalse(isWarDeployed("hellothere.war"));
}
private boolean isWarDeployed(String warName)
@@ -239,4 +237,4 @@
throw new IllegalStateException("Nav Tree link for '" + linkLabel +
"' not found.");
}
-}
\ No newline at end of file
+}
Show replies by date