You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xalan.apache.org by cu...@apache.org on 2001/12/14 23:48:36 UTC

cvs commit: xml-xalan/test build.xml test.properties

curcuru     01/12/14 14:48:36

  Modified:    test     build.xml test.properties
  Log:
  Support for the new 'conferr' target
  
  Revision  Changes    Path
  1.28      +16 -0     xml-xalan/test/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/xml-xalan/test/build.xml,v
  retrieving revision 1.27
  retrieving revision 1.28
  diff -u -r1.27 -r1.28
  --- build.xml	2001/12/13 20:22:17	1.27
  +++ build.xml	2001/12/14 22:48:36	1.28
  @@ -246,6 +246,22 @@
       </target>
   
       <!-- ================================================================== -->
  +    <!-- Run tests: the StylesheetErrorTestlet on the conferr suite         -->
  +    <!-- ================================================================== -->
  +    <target name="conferr" description="Run TestletDriver over the conferr negative test tree"
  +        depends="init.test">
  +        <!-- Set the default conformance test driver, user may override -->
  +        <property name="testClass" value="org.apache.qetest.xsl.StylesheetTestletDriver" />
  +        <echo message="Executing Xalan conf test: ${testClass}" />
  +        <property name="testType" value="conferr." />
  +        <xalantest test="${testClass}"
  +            testType="${testType}"
  +            classpathref="conf.class.path"
  +            fork="${fork-tests}"
  +            failonerror="${fail-on-error}" />
  +    </target>
  +
  +    <!-- ================================================================== -->
       <!-- Run tests: the normal StylesheetTestletDriver on the perf suite    -->
       <!-- ================================================================== -->
       <target name="perf" description="Run TestletDriver over the perf tree"
  
  
  
  1.32      +8 -0      xml-xalan/test/test.properties
  
  Index: test.properties
  ===================================================================
  RCS file: /home/cvs/xml-xalan/test/test.properties,v
  retrieving revision 1.31
  retrieving revision 1.32
  diff -u -r1.31 -r1.32
  --- test.properties	2001/12/13 20:01:04	1.31
  +++ test.properties	2001/12/14 22:48:36	1.32
  @@ -17,24 +17,28 @@
   # inputDir is where root of test xml/xsl files are
   api.inputDir=tests/api
   conf.inputDir=tests/conf
  +conferr.inputDir=tests/conferr
   perf.inputDir=tests/perf
   contrib.inputDir=tests/contrib
   
   # goldDir is where the 'gold' or reference files to check against live
   api.goldDir=tests/api-gold
   conf.goldDir=tests/conf-gold
  +conferr.goldDir=results-conferr/gold-unused
   perf.goldDir=tests/perf-gold
   contrib.goldDir=tests/contrib-gold
   
   # outDir is where we put the actual output files
   api.outputDir=results-api
   conf.outputDir=results-conf
  +conferr.outputDir=results-conferr
   perf.outputDir=results-perf
   contrib.outputDir=results-contrib
   
   # The test results log will be saved in this file
   api.logFile=results-api/results.xml
   conf.logFile=results-conf/results.xml
  +conferr.logFile=results-conferr/results.xml
   perf.logFile=results-perf/results.xml
   contrib.logFile=results-contrib/results.xml
   
  @@ -47,6 +51,7 @@
   qetest.ConsoleLogger.loggingLevel=40
   # By default, large conf test reports FAILSONLY
   conf.ConsoleLogger.loggingLevel=20
  +conferr.ConsoleLogger.loggingLevel=20
   
   # If we should save performance-oriented info in the logfile
   qetest.perfLogging=true
  @@ -77,6 +82,9 @@
   #   test each stylesheet found; several different testlets available
   # The default StylesheetTestlet does a simple transform and validates output
   qetest.testlet=org.apache.qetest.xsl.StylesheetTestlet
  +
  +# The StylesheetErrorTestlet tests negative tests that throw exceptions
  +conferr.testlet=org.apache.qetest.xsl.StylesheetErrorTestlet
   
   # The PerfTestlet iterates through a number of transforms with timing output
   perf.testlet=org.apache.qetest.xsl.PerfTestlet
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-cvs-help@xml.apache.org