ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ehatc...@apache.org
Subject cvs commit: jakarta-ant/src/testcases/org/apache/tools/ant/taskdefs/optional XmlValidateTest.java
Date Sat, 20 Apr 2002 16:15:11 GMT
ehatcher    02/04/20 09:15:11

  Modified:    src/etc/testcases/taskdefs/optional xmlvalidate.xml
               src/testcases/org/apache/tools/ant/taskdefs/optional
                        XmlValidateTest.java
  Log:
  added test to ensure XMLCatalog *and* classpath are working as expected.
  
  Revision  Changes    Path
  1.2       +10 -0     jakarta-ant/src/etc/testcases/taskdefs/optional/xmlvalidate.xml
  
  Index: xmlvalidate.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/etc/testcases/taskdefs/optional/xmlvalidate.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- xmlvalidate.xml	15 Apr 2002 06:35:18 -0000	1.1
  +++ xmlvalidate.xml	20 Apr 2002 16:15:10 -0000	1.2
  @@ -14,5 +14,15 @@
         antfile="validate.xml"
         target="testValidate"/>
     </target>
  +
  +  <target name="xmlcatalog">
  +    <xmlvalidate warn="false">
  +      <fileset dir="xml" includes="**/about.xml"/>
  +      <xmlcatalog classpath="xml">
  +        <dtd publicID="-//stevo//DTD doc 1.0//EN"
  +             location="doc.dtd"/>
  +      </xmlcatalog>
  +    </xmlvalidate>
  +  </target>
     
   </project>
  
  
  
  1.2       +7 -0      jakarta-ant/src/testcases/org/apache/tools/ant/taskdefs/optional/XmlValidateTest.java
  
  Index: XmlValidateTest.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/testcases/org/apache/tools/ant/taskdefs/optional/XmlValidateTest.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- XmlValidateTest.java	15 Apr 2002 06:35:57 -0000	1.1
  +++ XmlValidateTest.java	20 Apr 2002 16:15:11 -0000	1.2
  @@ -111,5 +111,12 @@
       public void testDeepValidate() throws Exception {
            executeTarget("testDeepValidate");
       }
  +
  +    /**
  +     *
  +     */
  +    public void testXmlCatalog() {
  +        executeTarget("xmlcatalog");
  +    }
   }
   
  
  
  

--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message