[embjopr-commits] EMBJOPR SVN: r661 - trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/as5/app/ear.
embjopr-commits at lists.jboss.org
embjopr-commits at lists.jboss.org
Mon Aug 10 17:10:44 EDT 2009
Author: ozizka at redhat.com
Date: 2009-08-10 17:10:44 -0400 (Mon, 10 Aug 2009)
New Revision: 661
Modified:
trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/as5/app/ear/EarTest.java
Log:
* EarTest updated
Modified: trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/as5/app/ear/EarTest.java
===================================================================
--- trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/as5/app/ear/EarTest.java 2009-08-10 08:19:12 UTC (rev 660)
+++ trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/as5/app/ear/EarTest.java 2009-08-10 21:10:44 UTC (rev 661)
@@ -99,10 +99,11 @@
final String DEPLOYABLE_NAME = BASIC_EAR;
+ // Deploy the EAR.
+ String earFilePath = ejtt.getTestDataDir() + "/ear/"+DEPLOYABLE_NAME;
+ deployEar( earFilePath );
+
try {
- // Deploy the EAR.
- String earFilePath = ejtt.getTestDataDir() + "/ear/"+DEPLOYABLE_NAME;
- deployEar( earFilePath );
String expectedMessage = DEPLOYABLE_NAME + " created successfully";
checkClientAndServerMessages(expectedMessage, expectedMessage, false);
@@ -120,11 +121,6 @@
}
finally {
// Undeploy the EAR.
-
- /*undeployEar( DEPLOYABLE_NAME );
- String expectedMessage = "Successfully deleted Enterprise Application (EAR) '"+DEPLOYABLE_NAME+"'.";
- assertTrue(client.getPageAsText().contains( expectedMessage ));
- /**/
ejtt.deployment.undeployViaEmbJopr(APP_TYPE, DEPLOYABLE_NAME);
}
More information about the embjopr-commits
mailing list