Add second resource jar and testcase failed again :-( You can switch assert resourceF...
authorpero <pero@13f79535-47bb-0310-9956-ffa450edef68>
Fri, 30 Apr 2010 12:10:08 +0000 (12:10 +0000)
committerpero <pero@13f79535-47bb-0310-9956-ffa450edef68>
Fri, 30 Apr 2010 12:10:08 +0000 (12:10 +0000)
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@939650 13f79535-47bb-0310-9956-ffa450edef68

test/org/apache/catalina/core/TestStandardContextResources.java
test/webapp-3.0-fragments/WEB-INF/lib/resources2.jar [new file with mode: 0644]

index 556d305..92206d0 100644 (file)
@@ -83,6 +83,8 @@ public class TestStandardContextResources extends TomcatBaseTest {
 
         tomcat.start();
 
+        assertPageContains("/test/getresource?path=/resourceF.jsp",
+                "<p>resourceF.jsp in the web application</p>");
         assertPageContains("/test/getresource?path=/resourceA.jsp",
                 "<p>resourceA.jsp in the web application</p>");
         assertPageContains("/test/getresource?path=/resourceB.jsp",
diff --git a/test/webapp-3.0-fragments/WEB-INF/lib/resources2.jar b/test/webapp-3.0-fragments/WEB-INF/lib/resources2.jar
new file mode 100644 (file)
index 0000000..6615576
Binary files /dev/null and b/test/webapp-3.0-fragments/WEB-INF/lib/resources2.jar differ