curcuru 01/12/12 14:35:27 Modified: test debugapi.properties Added: test debugapi.bat Log: Cheap way to run individual tests without using Ant; handy for running in debuggers Revision Changes Path 1.2 +3 -10 xml-xalan/test/debugapi.properties Index: debugapi.properties =================================================================== RCS file: /home/cvs/xml-xalan/test/debugapi.properties,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- debugapi.properties 2001/12/05 16:53:48 1.1 +++ debugapi.properties 2001/12/12 22:35:26 1.2 @@ -2,7 +2,7 @@ # when manually running or debugging a single API test like: # # cd xml-xalan/test -# java -classpath xalan.jar;xerces.jar;xml-apis.jar;testxsl.jar org.blah.TestName -load api.properties +# java -classpath xalan.jar;xerces.jar;xml-apis.jar;testxsl.jar org.blah.TestName -load debugapi.properties # # Note for debugging environments: if you're not in xml-xalan/test, # be sure to adjust various paths appropriately @@ -31,17 +31,10 @@ # Choose output: How much logging info is dumped to the console ConsoleLogger.loggingLevel=40 -# If we should save performance-oriented info in the logfile -perfLogging=true -# Set debug for advanced debugging of the tests themselves -#debug=true - -# Specify a file differ for the output files -#fileChecker=org.apache.qetest.xsl.XHTFileCheckService - - #---- 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/api #---- Choose XSLT processor and test algorithim ---- # A Testlet class defines the actual algorithim used to 1.1 xml-xalan/test/debugapi.bat Index: debugapi.bat =================================================================== @echo off @goto start @REM Name: debugapi.bat @REM Author: [EMAIL PROTECTED] @REM Wrapper for running tests without Ant in a debugger @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% @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= :end
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
