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 2002/01/22 22:32:20 UTC

cvs commit: xml-xalan/test debugconf.bat debugconf.properties debugapi.bat

curcuru     02/01/22 13:32:20

  Modified:    test     debugapi.bat
  Added:       test     debugconf.bat debugconf.properties
  Log:
  Update to use new xml-apis location and xercesImpl.jar;
  Added convenience batch file for debugging conf tests also
  
  Revision  Changes    Path
  1.2       +1 -1      xml-xalan/test/debugapi.bat
  
  Index: debugapi.bat
  ===================================================================
  RCS file: /home/cvs/xml-xalan/test/debugapi.bat,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- debugapi.bat	12 Dec 2001 22:35:26 -0000	1.1
  +++ debugapi.bat	22 Jan 2002 21:32:20 -0000	1.2
  @@ -6,7 +6,7 @@
   @REM Usage: debugapi.bat org.apache.qetest.package.TestName [other options]
   
   :start
  -set APICP=..\java\build\xalan.jar;..\java\build\xml-apis.jar;..\java\bin\xerces.jar;java\build\testxsl.jar;%CLASSPATH%
  +set APICP=..\java\build\xalan.jar;..\java\bin\xml-apis.jar;..\java\bin\xercesImpl.jar;java\build\testxsl.jar;%CLASSPATH%
   @echo Executing: java -classpath %APICP% %1 -load debugapi.properties %2 %3 %4 %5 %6 %7 %8 %9
   java -classpath %APICP% %1 -load debugapi.properties %2 %3 %4 %5 %6 %7 %8 %9
   set APICP=
  
  
  
  1.1                  xml-xalan/test/debugconf.bat
  
  Index: debugconf.bat
  ===================================================================
  @echo off
  @goto start
  @REM	Name:   debugconf.bat
  @REM	Author: Shane_Curcuru@us.ibm.com
  @REM Wrapper for running tests without Ant in a debugger
  @REM Usage: debugconf.bat [other options]
  
  :start
  set CONFCP=..\java\build\xalan.jar;..\java\bin\xml-apis.jar;..\java\bin\xercesImpl.jar;java\build\testxsl.jar;%CLASSPATH%
  @echo Executing: java -classpath %CONFCP% org.apache.qetest.xsl.StylesheetTestletDriver -load debugconf.properties %1 %2 %3 %4 %5 %6 %7 %8 %9
  java -classpath %CONFCP% org.apache.qetest.xsl.StylesheetTestletDriver -load debugconf.properties %1 %2 %3 %4 %5 %6 %7 %8 %9
  set CONFCP=
  :end
  
  
  
  1.1                  xml-xalan/test/debugconf.properties
  
  Index: debugconf.properties
  ===================================================================
  # Default settings for running test automation; used ONLY 
  # when manually running or debugging conf tests like:
  #
  # cd xml-xalan/test
  # java -classpath xalan.jar;xerces.jar;xml-apis.jar;testxsl.jar blah.StylesheetTestletDriver -load debugconf.properties
  #
  # Note for debugging environments: if you're not in xml-xalan/test, 
  # be sure to adjust various paths appropriately
  #
  
  
  #---- Choose locations: where to find files, where to log to ----
  # inputDir is where root of test xml/xsl files are
  inputDir=tests/conf
  
  # goldDir is where the 'gold' or reference files to check against live
  goldDir=tests/conf-gold
  
  # outDir is where we put the actual output files
  outputDir=results-conf
  
  # The test results log will be saved in this file
  logFile=results-conf/results.xml
  
  
  #---- Choose output: How much/what kinds of info should we log ----
  # Choose output: How much logging info is saved into our logFile
  #   Between 0 (very little) and 99 (lots)
  loggingLevel=99
  
  # Choose output: How much logging info is dumped to the console
  ConsoleLogger.loggingLevel=40
  
  
  #---- Below only used with conf/perf/contrib tests  ----
  # you'll probably need to adjust inputDir, etc. to point 
  # to tests/conf, etc. instead of tests/conf
  
  #---- Choose XSLT processor and test algorithim ----
  # A Testlet class defines the actual algorithim used to 
  #   test each stylesheet found; several different testlets available
  testlet=org.apache.qetest.xsl.StylesheetTestlet
  
  # TransformWrapper flavors supported: trax|trax.dom|trax.sax|other...
  flavor=trax
  
  #---- Choose tests via filters (either/or...) ----
  # Set category to run only the single named directory in inputDir
  #category=axes
  
  #---- Choose tests via a specific list (...either/or) ----
  # Set fileList to specify a list of files yourself
  #   Using a fileList means filtering above is not done
  #fileList=listOfFiles.txt
  
  # Specify files to be skipped, and not tested at all
  #excludes=lre01.xsl;lre02.xsl
  
  # End of File
  
  
  

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