tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r1547927 - /tomcat/tc7.0.x/trunk/test/javax/servlet/resources/TestSchemaValidation.java
Date Wed, 04 Dec 2013 21:43:31 GMT
Author: markt
Date: Wed Dec  4 21:43:30 2013
New Revision: 1547927

URL: http://svn.apache.org/r1547927
Log:
Remove tests for test web applications that don't exist in Tomcat 7.

Modified:
    tomcat/tc7.0.x/trunk/test/javax/servlet/resources/TestSchemaValidation.java

Modified: tomcat/tc7.0.x/trunk/test/javax/servlet/resources/TestSchemaValidation.java
URL: http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/test/javax/servlet/resources/TestSchemaValidation.java?rev=1547927&r1=1547926&r2=1547927&view=diff
==============================================================================
--- tomcat/tc7.0.x/trunk/test/javax/servlet/resources/TestSchemaValidation.java (original)
+++ tomcat/tc7.0.x/trunk/test/javax/servlet/resources/TestSchemaValidation.java Wed Dec  4
21:43:30 2013
@@ -30,16 +30,6 @@ import org.apache.tomcat.util.digester.D
 public class TestSchemaValidation {
 
     @Test
-    public void testWebapp() throws Exception {
-        Digester digester =
-                DigesterFactory.newDigester(true, true, new WebRuleSet(false));
-        digester.push(new WebXml());
-        WebXml desc = (WebXml) digester.parse(
-                new File("test/webapp/WEB-INF/web.xml"));
-        Assert.assertEquals("3.1", desc.getVersion());
-    }
-
-    @Test
     public void testWebapp_2_2() throws Exception {
         Digester digester =
                 DigesterFactory.newDigester(true, true, new WebRuleSet(false));
@@ -90,14 +80,4 @@ public class TestSchemaValidation {
                 new File("test/webapp-3.0/WEB-INF/web.xml"));
         Assert.assertEquals("3.0", desc.getVersion());
     }
-
-    @Test
-    public void testWebapp_3_1() throws Exception {
-        Digester digester =
-                DigesterFactory.newDigester(true, true, new WebRuleSet(false));
-        digester.push(new WebXml());
-        WebXml desc = (WebXml) digester.parse(
-                new File("test/webapp-3.1/WEB-INF/web.xml"));
-        Assert.assertEquals("3.1", desc.getVersion());
-    }
 }



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


Mime
View raw message