You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by re...@apache.org on 2016/02/11 14:28:12 UTC

svn commit: r1729822 - /tomcat/trunk/test/org/apache/catalina/startup/TestContextConfig.java

Author: remm
Date: Thu Feb 11 13:28:12 2016
New Revision: 1729822

URL: http://svn.apache.org/viewvc?rev=1729822&view=rev
Log:
Remove weird test added in r1729742.

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=1729822&r1=1729821&r2=1729822&view=diff
==============================================================================
--- tomcat/trunk/test/org/apache/catalina/startup/TestContextConfig.java (original)
+++ tomcat/trunk/test/org/apache/catalina/startup/TestContextConfig.java Thu Feb 11 13:28:12 2016
@@ -34,7 +34,6 @@ import org.junit.Test;
 
 import org.apache.catalina.Context;
 import org.apache.catalina.core.StandardContext;
-import org.apache.catalina.core.StandardHost;
 import org.apache.tomcat.util.buf.ByteChunk;
 
 public class TestContextConfig extends TomcatBaseTest {
@@ -203,23 +202,4 @@ public class TestContextConfig extends T
         }
     }
 
-
-    @Test
-    public void testUser01() throws Exception {
-        Tomcat tomcat = getTomcatInstance();
-        StandardHost host = (StandardHost) tomcat.getHost();
-        host.setUnpackWARs(true);
-        host.setAutoDeploy(true);
-        tomcat.start();
-
-
-        StandardContext ctx = new StandardContext();
-        ctx.setDocBase("D://test1");
-        ctx.setPath("/test1");
-        ctx.addLifecycleListener(new ContextConfig());
-
-        host.addChild(ctx);
-
-        System.out.println("done");
-    }
 }



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


Re: svn commit: r1729822 - /tomcat/trunk/test/org/apache/catalina/startup/TestContextConfig.java

Posted by Mark Thomas <ma...@apache.org>.
On 11/02/2016 13:28, remm@apache.org wrote:
> Author: remm
> Date: Thu Feb 11 13:28:12 2016
> New Revision: 1729822
> 
> URL: http://svn.apache.org/viewvc?rev=1729822&view=rev
> Log:
> Remove weird test added in r1729742.

Sorry. That was me testing the regression in the fix for BZ 58867.

Thanks for removing it.

Mark

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