keiron      01/07/05 23:58:01

  Modified:    .        build.xml
               docs/xml-docs/fop testing.xml
               src/org/apache/fop/tools/anttasks RunTest.java
               lib      buildtools.jar
  Log:
  added support for easily using w3c testsuite for build target test
  
  Revision  Changes    Path
  1.36      +15 -1     xml-fop/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/xml-fop/build.xml,v
  retrieving revision 1.35
  retrieving revision 1.36
  diff -u -r1.35 -r1.36
  --- build.xml 2001/05/18 09:55:30     1.35
  +++ build.xml 2001/07/06 06:57:51     1.36
  @@ -572,8 +572,22 @@
   
     <target name="test" depends="package">
       <echo message="Testing build in jar file ${build.dir}/${name}.jar against 
reference"/>
  -    <runTest testSuite="basictests.xml" basedir="test/" 
reference="reference/fop.jar"
  +    <runTest testSuite="basictests.xml" basedir="test/" 
reference="test/reference/fop.jar"
            refVersion="FOP 0.19.0-CVS"/>
  +    <runTest testSuite="bugtests.xml" basedir="test/" 
reference="test/reference/fop.jar"
  +         refVersion="FOP 0.19.0-CVS"/>
  +<!--
  +    <runTest testSuite="testsuite.xml" basedir="TestSuite/NIST/" 
reference="test/reference/fop.jar"
  +         refVersion="FOP 0.19.0-CVS"/>
  +    <runTest testSuite="testsuite.xml" basedir="TestSuite/contrib/IBM/" 
reference="test/reference/fop.jar"
  +         refVersion="FOP 0.19.0-CVS"/>
  +    <runTest testSuite="testsuite.xml" basedir="TestSuite/contrib/FOP/" 
reference="test/reference/fop.jar"
  +         refVersion="FOP 0.19.0-CVS"/>
  +    <runTest testSuite="testsuite.xml" basedir="TestSuite/contrib/XEP/" 
reference="test/reference/fop.jar"
  +         refVersion="FOP 0.19.0-CVS"/>
  +    <runTest testSuite="testsuite.xml" basedir="TestSuite/contrib/XSLFormatter/" 
reference="test/reference/fop.jar"
  +         refVersion="FOP 0.19.0-CVS"/>
  +-->
     </target>
   
     <target name="all" depends="package"/> <!-- "all" target for us Makefile converts 
;-) -->
  
  
  
  1.2       +10 -0     xml-fop/docs/xml-docs/fop/testing.xml
  
  Index: testing.xml
  ===================================================================
  RCS file: /home/cvs/xml-fop/docs/xml-docs/fop/testing.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- testing.xml       2001/06/06 12:34:09     1.1
  +++ testing.xml       2001/07/06 06:57:55     1.2
  @@ -20,6 +20,16 @@
       </p>
     </s2>
   
  +  <s2 title="W3C TestSuite">
  +    <p>
  +The testing is set up so that you can download the testsuite from
  +<jump 
href="http://www.w3.org/Style/XSL/TestSuite/";>http://www.w3.org/Style/XSL/TestSuite/</jump>,
  +unzip the file into the base directory of FOP.
  +Then you can uncomment the lines in the build.xml file in the test target and it
  +will run through all the tests in the testsuite distribution.
  +    </p>
  +  </s2>
  +
     <s2 title="Writing a Test">
       <p>
   A test belongs to one of a few catagories. A basic test should excercise one
  
  
  
  1.4       +1 -1      xml-fop/src/org/apache/fop/tools/anttasks/RunTest.java
  
  Index: RunTest.java
  ===================================================================
  RCS file: /home/cvs/xml-fop/src/org/apache/fop/tools/anttasks/RunTest.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- RunTest.java      2001/06/18 11:33:33     1.3
  +++ RunTest.java      2001/07/06 06:57:57     1.4
  @@ -114,7 +114,7 @@
           //} else {
           try {
               ClassLoader loader = new URLClassLoader(
  -                                   new URL[]{new URL("file:" + basedir + 
referenceJar)});
  +                                   new URL[]{new URL("file:" + referenceJar)});
               boolean failed = false;
   
               try {
  
  
  
  1.8       +204 -166  xml-fop/lib/buildtools.jar
  
        <<Binary file>>
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to