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

embjopr-commits at lists.jboss.org embjopr-commits at lists.jboss.org
Thu Aug 27 20:25:07 EDT 2009


Author: ozizka at redhat.com
Date: 2009-08-27 20:25:07 -0400 (Thu, 27 Aug 2009)
New Revision: 707

Modified:
   trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/as5/app/rar/RarTest.java
Log:
 * RAR test updated.

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-08-28 00:18:29 UTC (rev 706)
+++ trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/as5/app/rar/RarTest.java	2009-08-28 00:25:07 UTC (rev 707)
@@ -87,20 +87,20 @@
 	 *	deployed.  Undeploy the archive for test clean up purposes.
 	 *
 	 */ 
-	public void testBasicRarDeployment() throws IOException, EmbJoprTestException
+	public void testRarBasicDeployment() throws IOException, EmbJoprTestException
 	{
 
 		final String DEPLOYABLE_NAME = BASIC_RAR;
 
+		// Deploy the RAR.
+		String rarFilePath = ejtt.getTestDataDir() + "/rar/"+DEPLOYABLE_NAME;
+		//deployRar( rarFilePath );
+		ejtt.deployment.deployViaEmbJopr(APP_TYPE, DEPLOYABLE_NAME);
+
+
 		try {
-			// Deploy the RAR.
-			String rarFilePath = ejtt.getTestDataDir() + "/rar/"+DEPLOYABLE_NAME;
-			deployRar( rarFilePath );
-
 			String expectedMessage = DEPLOYABLE_NAME + " created successfully";
-
 			checkClientAndServerMessages(expectedMessage, expectedMessage, false);
-
 			assertTrue("JMX doesn't report RAR, jbosstestadapter.rar as deployed.", isRarDeployed(BASIC_RAR));
 		}
 		finally {
@@ -122,7 +122,7 @@
 	 *         ==> Applications ==> Resource Adapters
          *
 	 */
-	public void testNavigationToRar() throws IOException, HtmlElementNotFoundException,
+	public void testRarNavigation() throws IOException, HtmlElementNotFoundException,
 		 ActionOutOfSyncException, ActionNotAvailableException, EmbJoprTestException, InterruptedException
 	{
 



More information about the embjopr-commits mailing list