tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject svn commit: r1222892 - in /tomcat/sandbox/trunk-mvn-build/tomcat-tests/src/test/java/org/apache/jasper/compiler: TestJspConfig.java TestValidator.java
Date Sat, 24 Dec 2011 00:04:22 GMT
Author: olamy
Date: Sat Dec 24 00:04:22 2011
New Revision: 1222892

URL: http://svn.apache.org/viewvc?rev=1222892&view=rev
Log:
fix test resources path

Modified:
    tomcat/sandbox/trunk-mvn-build/tomcat-tests/src/test/java/org/apache/jasper/compiler/TestJspConfig.java
    tomcat/sandbox/trunk-mvn-build/tomcat-tests/src/test/java/org/apache/jasper/compiler/TestValidator.java

Modified: tomcat/sandbox/trunk-mvn-build/tomcat-tests/src/test/java/org/apache/jasper/compiler/TestJspConfig.java
URL: http://svn.apache.org/viewvc/tomcat/sandbox/trunk-mvn-build/tomcat-tests/src/test/java/org/apache/jasper/compiler/TestJspConfig.java?rev=1222892&r1=1222891&r2=1222892&view=diff
==============================================================================
--- tomcat/sandbox/trunk-mvn-build/tomcat-tests/src/test/java/org/apache/jasper/compiler/TestJspConfig.java
(original)
+++ tomcat/sandbox/trunk-mvn-build/tomcat-tests/src/test/java/org/apache/jasper/compiler/TestJspConfig.java
Sat Dec 24 00:04:22 2011
@@ -34,7 +34,7 @@ public class TestJspConfig extends Tomca
         Tomcat tomcat = getTomcatInstance();
 
         File appDir =
-            new File("test/webapp-2.3");
+            new File(getBaseTestResourcesPath()+"/webapp-2.3");
         // app dir is relative to server home
         tomcat.addWebapp(null, "/test", appDir.getAbsolutePath());
 
@@ -54,7 +54,7 @@ public class TestJspConfig extends Tomca
         Tomcat tomcat = getTomcatInstance();
 
         File appDir =
-            new File("test/webapp-2.4");
+            new File(getBaseTestResourcesPath()+"/webapp-2.4");
         // app dir is relative to server home
         tomcat.addWebapp(null, "/test", appDir.getAbsolutePath());
 
@@ -74,7 +74,7 @@ public class TestJspConfig extends Tomca
         Tomcat tomcat = getTomcatInstance();
 
         File appDir =
-            new File("test/webapp-2.5");
+            new File(getBaseTestResourcesPath()+"/webapp-2.5");
         // app dir is relative to server home
         tomcat.addWebapp(null, "/test", appDir.getAbsolutePath());
 

Modified: tomcat/sandbox/trunk-mvn-build/tomcat-tests/src/test/java/org/apache/jasper/compiler/TestValidator.java
URL: http://svn.apache.org/viewvc/tomcat/sandbox/trunk-mvn-build/tomcat-tests/src/test/java/org/apache/jasper/compiler/TestValidator.java?rev=1222892&r1=1222891&r2=1222892&view=diff
==============================================================================
--- tomcat/sandbox/trunk-mvn-build/tomcat-tests/src/test/java/org/apache/jasper/compiler/TestValidator.java
(original)
+++ tomcat/sandbox/trunk-mvn-build/tomcat-tests/src/test/java/org/apache/jasper/compiler/TestValidator.java
Sat Dec 24 00:04:22 2011
@@ -57,7 +57,7 @@ public class TestValidator extends Tomca
         Tomcat tomcat = getTomcatInstance();
 
         File appDir =
-            new File("test/webapp-2.3");
+            new File(getBaseTestResourcesPath()+"/webapp-2.3");
         // app dir is relative to server home
         tomcat.addWebapp(null, "/test", appDir.getAbsolutePath());
 
@@ -82,7 +82,7 @@ public class TestValidator extends Tomca
         Tomcat tomcat = getTomcatInstance();
 
         File appDir =
-            new File("test/webapp-2.4");
+            new File(getBaseTestResourcesPath()+"/webapp-2.4");
         // app dir is relative to server home
         tomcat.addWebapp(null, "/test", appDir.getAbsolutePath());
 
@@ -107,7 +107,7 @@ public class TestValidator extends Tomca
         Tomcat tomcat = getTomcatInstance();
 
         File appDir =
-            new File("test/webapp-2.5");
+            new File(getBaseTestResourcesPath()+"/webapp-2.5");
         // app dir is relative to server home
         tomcat.addWebapp(null, "/test", appDir.getAbsolutePath());
 



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message