curcuru 00/12/18 09:47:17
Modified: test/java/src/org/apache/qetest/trax/sax
SAXTransformerFactoryAPITest.java
Log:
Comment out test 007; needs further work to be complete (sorry, Mr. Bond!)
Revision Changes Path
1.2 +12 -3
xml-xalan/test/java/src/org/apache/qetest/trax/sax/SAXTransformerFactoryAPITest.java
Index: SAXTransformerFactoryAPITest.java
===================================================================
RCS file:
/home/cvs/xml-xalan/test/java/src/org/apache/qetest/trax/sax/SAXTransformerFactoryAPITest.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- SAXTransformerFactoryAPITest.java 2000/12/15 16:31:47 1.1
+++ SAXTransformerFactoryAPITest.java 2000/12/18 17:47:11 1.2
@@ -103,7 +103,7 @@
* API Coverage test for SAXTransformerFactory.
* @author [EMAIL PROTECTED]
* @author [EMAIL PROTECTED]
- * @version $Id: SAXTransformerFactoryAPITest.java,v 1.1 2000/12/15 16:31:47
curcuru Exp $
+ * @version $Id: SAXTransformerFactoryAPITest.java,v 1.2 2000/12/18 17:47:11
curcuru Exp $
*/
public class SAXTransformerFactoryAPITest extends XSLProcessorTestBase
{
@@ -129,6 +129,9 @@
*/
protected String citiesSerializedFileName = null;
+ /** Gold file used for tests we haven't validated the correct results of
yet. */
+ protected String NOT_DEFINED;
+
/** Subdirectory under test\tests\api for our xsl/xml files. */
public static final String TRAX_SAX_SUBDIR = "trax" + File.separator +
"sax";
@@ -177,6 +180,7 @@
+ File.separator + "citiesinclude.xsl"; //
Test 004, etc.
citiesSerializedFileName = goldBasePath + "citiesSerialized.out";
// Tests 010 - 013
+ NOT_DEFINED = goldBasePath + "need-validated-output-file-here.out";
try
{
@@ -216,7 +220,10 @@
SAXTFactoryTest004(citiesFileInfo.xmlName, citiesFileInfo.inputName,
citiesFileInfo.goldName);
SAXTFactoryTest005(citiesFileInfo.xmlName, citiesFileInfo.inputName,
citiesFileInfo.goldName);
SAXTFactoryTest006(citiesFileInfo.xmlName, citiesFileInfo.inputName,
citiesFileInfo.goldName);
- SAXTFactoryTest007(citiesFileInfo.xmlName, citiesFileInfo.inputName,
citiesFileInfo.goldName);
+ // Validate the output by comparing against gold
+ // 18-Dec-00 Note: need to check what we should be
+ // validating first - this test case seems incomplete
+ // SAXTFactoryTest007(citiesFileInfo.xmlName,
citiesFileInfo.inputName, citiesFileInfo.goldName);
SAXTFactoryTest008(citiesFileInfo.xmlName, citiesFileInfo.inputName,
citiesFileInfo.goldName);
SAXTFactoryTest009(citiesFileInfo.xmlName, citiesFileInfo.inputName,
citiesFileInfo.goldName);
SAXTFactoryTest010(citiesFileInfo.xmlName, citiesFileInfo.inputName,
citiesFileInfo.goldName);
@@ -599,9 +606,11 @@
transformer.transform(xmlDomSource, result);
// Validate the output by comparing against gold
+ // 18-Dec-00 Note: need to check what we should be
+ // validating first - this test case seems incomplete
returnValue = fileChecker.check(reporter,
new
File(outNames.currentName()),
- new File(goldName),
+ new File(NOT_DEFINED),
"SAXTFactoryTest007: into " +
outNames.currentName());
// If validation failed or had a problem, also log out
// the reason for the fail or error