Author: smcgowan(a)redhat.com
Date: 2009-05-07 13:41:24 -0400 (Thu, 07 May 2009)
New Revision: 397
Modified:
trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/as5/app/ejb/EjbTest.java
Log:
recommit minor changes to test that were overwritten
Modified: trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/as5/app/ejb/EjbTest.java
===================================================================
--- trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/as5/app/ejb/EjbTest.java 2009-05-07
15:47:58 UTC (rev 396)
+++ trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/as5/app/ejb/EjbTest.java 2009-05-07
17:41:24 UTC (rev 397)
@@ -108,8 +108,6 @@
assertTrue(FacesMessage.SEVERITY_INFO.equals(successMessage.getSeverity()));
assertTrue(successMessage.getDetail().contains("Resource " + BASIC_JAR +
" created successfully!"));
-
- // TODO: Check if listed. See EMBJOPR-74.
assertFalse("Page contains 'Total: 0', EJBs probably not listed.",
client.getPageAsText().contains("Total: 0"));
@@ -120,9 +118,9 @@
HtmlButtonInput deleteButton = getAppDeleteButton(BASIC_JAR);
deleteButton.click();
- assertTrue(client.getPageAsText().contains("Successfully deleted " + NAV_EJB2
+ " '" + BASIC_JAR +"'."));
+ assertTrue(client.getPageAsText().contains(EJB2_DEL_MSG + " '" +
BASIC_JAR +"'."));
- //assertFalse(isEJBDeployed(BASIC_JAR);
+ assertFalse(isEJBDeployed(BASIC_JAR));
}
}
Show replies by date