Author: ozizka(a)redhat.com
Date: 2009-09-01 03:53:44 -0400 (Tue, 01 Sep 2009)
New Revision: 726
Modified:
trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/as5/app/rar/RarTest.java
Log:
* RAR test fixed - path to test RAR file.
Modified: trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/as5/app/rar/RarTest.java
===================================================================
--- trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/as5/app/rar/RarTest.java 2009-09-01
07:42:00 UTC (rev 725)
+++ trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/as5/app/rar/RarTest.java 2009-09-01
07:53:44 UTC (rev 726)
@@ -95,19 +95,19 @@
// Deploy the RAR.
String rarFilePath = ejtt.getTestDataDir() + "/rar/"+DEPLOYABLE_NAME;
//deployRar( rarFilePath );
- ejtt.deployment.deployViaEmbJopr(APP_TYPE, DEPLOYABLE_NAME);
+ ejtt.deployment.deployViaEmbJopr(APP_TYPE, rarFilePath);
try {
String expectedMessage = DEPLOYABLE_NAME + " created successfully";
checkClientAndServerMessages(expectedMessage, expectedMessage, false);
- assertTrue("JMX doesn't report RAR, jbosstestadapter.rar as deployed.",
isRarDeployed(BASIC_RAR));
+ assertTrue("JMX doesn't report RAR '"+DEPLOYABLE_NAME+"' as
deployed.", isRarDeployed(DEPLOYABLE_NAME));
}
finally {
ejtt.deployment.undeployViaEmbJopr(APP_TYPE, DEPLOYABLE_NAME);
}
- assertFalse(isRarDeployed(BASIC_RAR));
+ assertFalse(isRarDeployed(DEPLOYABLE_NAME));
}
Show replies by date