Author: markt
Date: Mon Nov  3 11:42:50 2014
New Revision: 1636326

URL: http://svn.apache.org/r1636326
Log:
Reduce boilerplate code.

Modified:
    tomcat/trunk/test/org/apache/catalina/startup/TestContextConfig.java

Modified: tomcat/trunk/test/org/apache/catalina/startup/TestContextConfig.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/test/org/apache/catalina/startup/TestContextConfig.java?rev=1636326&r1=1636325&r2=1636326&view=diff
==============================================================================
--- tomcat/trunk/test/org/apache/catalina/startup/TestContextConfig.java 
(original)
+++ tomcat/trunk/test/org/apache/catalina/startup/TestContextConfig.java Mon 
Nov  3 11:42:50 2014
@@ -82,13 +82,7 @@ public class TestContextConfig extends T
 
     @Test
     public void testBug53574() throws Exception {
-        Tomcat tomcat = getTomcatInstance();
-
-        File appDir = new File("test/webapp");
-        tomcat.addWebapp(null, "/test", appDir.getAbsolutePath());
-
-        tomcat.start();
-
+        getTomcatInstanceTestWebapp(false, true);
         assertPageContains("/test/bug53574", "OK");
     }
 



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

Reply via email to