tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r1431260 - /tomcat/trunk/test/org/apache/catalina/loader/TestVirtualWebappLoader.java
Date Thu, 10 Jan 2013 10:28:43 GMT
Author: markt
Date: Thu Jan 10 10:28:43 2013
New Revision: 1431260

URL: http://svn.apache.org/viewvc?rev=1431260&view=rev
Log:
Adding test/webapp-3.0/WEB-INF/classes means there are 3 resources not 2 in this test.

Modified:
    tomcat/trunk/test/org/apache/catalina/loader/TestVirtualWebappLoader.java

Modified: tomcat/trunk/test/org/apache/catalina/loader/TestVirtualWebappLoader.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/test/org/apache/catalina/loader/TestVirtualWebappLoader.java?rev=1431260&r1=1431259&r2=1431260&view=diff
==============================================================================
--- tomcat/trunk/test/org/apache/catalina/loader/TestVirtualWebappLoader.java (original)
+++ tomcat/trunk/test/org/apache/catalina/loader/TestVirtualWebappLoader.java Thu Jan 10 10:28:43
2013
@@ -63,16 +63,16 @@ public class TestVirtualWebappLoader ext
 
         loader.start();
         String[] repos = loader.getLoaderRepositories();
-        assertEquals(2,repos.length);
+        assertEquals(3,repos.length);
         loader.stop();
         // ToDo: Why doesn't remove repositories?
         repos = loader.getLoaderRepositories();
-        assertEquals(2, repos.length);
+        assertEquals(3, repos.length);
 
         // no leak
         loader.start();
         repos = loader.getLoaderRepositories();
-        assertEquals(2,repos.length);
+        assertEquals(3,repos.length);
 
         // clear loader
         ctx.setLoader(null);



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


Mime
View raw message