Author: ozizka(a)redhat.com
Date: 2009-05-06 17:17:59 -0400 (Wed, 06 May 2009)
New Revision: 391
Modified:
trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/as5/app/ejb/EjbTest.java
Log:
EjbTest - merging Shelly's update.
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-06
21:15:45 UTC (rev 390)
+++ trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/as5/app/ejb/EjbTest.java 2009-05-06
21:17:59 UTC (rev 391)
@@ -109,6 +109,7 @@
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"));
@@ -119,9 +120,9 @@
HtmlButtonInput deleteButton = getAppDeleteButton(BASIC_JAR);
deleteButton.click();
- assertTrue(client.getPageAsText().contains(EJB2_DEL_MSG + " '" +
BASIC_JAR +"'."));
+ assertTrue(client.getPageAsText().contains("Successfully deleted " + NAV_EJB2
+ " '" + BASIC_JAR +"'."));
- assertFalse(isEJBDeployed(BASIC_JAR));
+ //assertFalse(isEJBDeployed(BASIC_JAR);
}
}
Show replies by date