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

embjopr-commits at lists.jboss.org embjopr-commits at lists.jboss.org
Tue May 12 05:52:13 EDT 2009


Author: ozizka at redhat.com
Date: 2009-05-12 05:52:13 -0400 (Tue, 12 May 2009)
New Revision: 410

Modified:
   trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/as5/ApplicationsPageTest.java
Log:
ApplicationsPageTest updated

Modified: trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/as5/ApplicationsPageTest.java
===================================================================
--- trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/as5/ApplicationsPageTest.java	2009-05-11 15:48:34 UTC (rev 409)
+++ trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/as5/ApplicationsPageTest.java	2009-05-12 09:52:13 UTC (rev 410)
@@ -171,7 +171,7 @@
 		// TODO: Create test which would only deploy many apps at once (hotdeploy/embjopr/both?).
 		// TODO: Undeploy.
 		
-		String fileSrcPath = ejtt.getTestDataDir() +"/ear/"+ BASIC_EAR;
+		String fileSrcPath = ejtt.getTestDataDir() +"/war/"+ BASIC_WAR;
 
 		String destDir = ejtt.getTempDir() + "/appPagination";
 		new File(destDir).mkdirs();
@@ -180,9 +180,9 @@
 
 		// Deploy the same APP multiple times.
 		for (int i = 0; i < 8; i++) {
-			String fileDestPath = destDir+"/testAppsListing"+i+".ear";
+			String fileDestPath = destDir+"/testAppsListing"+i+".war";
 			FileUtils.copyFile( new File(fileSrcPath), new File(fileDestPath) );
-			ejtt.deployment.deployViaEmbJoprRepeatedly( DeployableTypes.EAR, fileDestPath );
+			ejtt.deployment.deployViaEmbJoprRepeatedly( DeployableTypes.WAR, fileDestPath );
 		}
 
 




More information about the embjopr-commits mailing list