You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2014/11/03 13:43:37 UTC
svn commit: r1636340 -
/tomcat/trunk/test/org/apache/jasper/TestJspCompilationContext.java
Author: markt
Date: Mon Nov 3 12:43:36 2014
New Revision: 1636340
URL: http://svn.apache.org/r1636340
Log: (empty)
Modified:
tomcat/trunk/test/org/apache/jasper/TestJspCompilationContext.java
Modified: tomcat/trunk/test/org/apache/jasper/TestJspCompilationContext.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/test/org/apache/jasper/TestJspCompilationContext.java?rev=1636340&r1=1636339&r2=1636340&view=diff
==============================================================================
--- tomcat/trunk/test/org/apache/jasper/TestJspCompilationContext.java (original)
+++ tomcat/trunk/test/org/apache/jasper/TestJspCompilationContext.java Mon Nov 3 12:43:36 2014
@@ -16,14 +16,11 @@
*/
package org.apache.jasper;
-import java.io.File;
-
import javax.servlet.http.HttpServletResponse;
import org.junit.Assert;
import org.junit.Test;
-import org.apache.catalina.startup.Tomcat;
import org.apache.catalina.startup.TomcatBaseTest;
import org.apache.tomcat.util.buf.ByteChunk;
@@ -31,13 +28,7 @@ public class TestJspCompilationContext e
@Test
public void testTagFileInJar() throws Exception {
- Tomcat tomcat = getTomcatInstance();
-
- File appDir = new File("test/webapp");
- // app dir is relative to server home
- tomcat.addWebapp(null, "/test", appDir.getAbsolutePath());
-
- tomcat.start();
+ getTomcatInstanceTestWebapp(false, true);
ByteChunk body = new ByteChunk();
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org