[embjopr-commits] EMBJOPR SVN: r489 - trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/as5/app/war.

embjopr-commits at lists.jboss.org embjopr-commits at lists.jboss.org
Tue Jun 2 12:34:14 EDT 2009


Author: ozizka at redhat.com
Date: 2009-06-02 12:34:14 -0400 (Tue, 02 Jun 2009)
New Revision: 489

Modified:
   trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/as5/app/war/WarTest.java
Log:
WAR tests updated.

Modified: trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/as5/app/war/WarTest.java
===================================================================
--- trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/as5/app/war/WarTest.java	2009-06-02 16:32:16 UTC (rev 488)
+++ trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/as5/app/war/WarTest.java	2009-06-02 16:34:14 UTC (rev 489)
@@ -89,7 +89,7 @@
 			deployWAR( filePath );
 
 			// Check the success message.
-			String expectedMessage = "Resource hellothere.war created successfully!";
+			String expectedMessage = "Resource "+DEPLOYABLE_NAME+" created successfully";
 			checkClientAndServerMessages(expectedMessage, expectedMessage, false);
 
 			// Use JMX to assert that the WAR really did deploy successfully
@@ -108,12 +108,7 @@
 		}
 		finally {
 			// Undeploy the WAR
-			/*HtmlButtonInput deleteButton = getAppDeleteButton(DEPLOYABLE_NAME);
-			deleteButton.click();
-			/*/
 			undeployWAR(DEPLOYABLE_NAME);
-			/**/
-
 		}
 	}
 




More information about the embjopr-commits mailing list