Author: ozizka(a)redhat.com
Date: 2009-05-12 05:53:55 -0400 (Tue, 12 May 2009)
New Revision: 411
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-12
09:52:13 UTC (rev 410)
+++
trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/as5/ApplicationsPageTest.java 2009-05-12
09:53:55 UTC (rev 411)
@@ -85,7 +85,7 @@
// Deploy enough apps.
// 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();
@@ -94,9 +94,9 @@
// Deploy the same APP multiple times.
for (int i = 0; i < 8; i++) {
- String fileDestPath = destDir+"/appPagination"+i+".ear";
+ String fileDestPath = destDir+"/appPagination"+i+".war";
FileUtils.copyFile( new File(fileSrcPath), new File(fileDestPath) );
- ejtt.deployment.deployViaEmbJoprRepeatedly( DeployableTypes.EAR, fileDestPath );
+ ejtt.deployment.deployViaEmbJoprRepeatedly( DeployableTypes.WAR, fileDestPath );
}
Show replies by date