curcuru 00/12/15 13:15:53
Modified: test/java/src/org/apache/qetest/trax ExamplesTest.java
Log:
Updated gold file for ExamplesTest.java ContentHandler test
Revision Changes Path
1.3 +7 -3
xml-xalan/test/java/src/org/apache/qetest/trax/ExamplesTest.java
Index: ExamplesTest.java
===================================================================
RCS file:
/home/cvs/xml-xalan/test/java/src/org/apache/qetest/trax/ExamplesTest.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- ExamplesTest.java 2000/12/14 20:21:26 1.2
+++ ExamplesTest.java 2000/12/15 21:15:51 1.3
@@ -133,7 +133,7 @@
* for each case - these should be updated as time permits.</p>
* @author [EMAIL PROTECTED]
* @author [EMAIL PROTECTED]
- * @version $Id: ExamplesTest.java,v 1.2 2000/12/14 20:21:26 curcuru Exp $
+ * @version $Id: ExamplesTest.java,v 1.3 2000/12/15 21:15:51 curcuru Exp $
*/
public class ExamplesTest extends XSLProcessorTestBase
{
@@ -165,6 +165,9 @@
/** Sample gold files used for specific transforms - with output format.
*/
protected String outputGoldName;
+ /** Sample gold files used for specific transforms - ContentHandler. */
+ protected String sax2GoldName;
+
/** Sample gold files used for specific transforms - XMLFilter/Reader.
*/
protected String saxGoldName;
@@ -229,6 +232,7 @@
param2GoldName = goldBasePath + "param2.out";
outputGoldName = goldBasePath + "output.out";
saxGoldName = goldBasePath + "fooSAX.out";
+ sax2GoldName = goldBasePath + "fooSAX2.out";
NOT_DEFINED = goldBasePath + "need-validated-output-file-here.out";
return true;
}
@@ -549,9 +553,9 @@
reporter.logTraceMsg("reader.parse " + sourceID);
reader.parse(sourceID);
- reporter.logTraceMsg("Note: I have not double-checked that we're
comparing against the correct gold file! 14-Dec-00");
+ reporter.logTraceMsg("Note: See SPR SCUU4RZT78 for discussion as
to why this output is different than XMLReader/XMLFilter");
fileChecker.check(reporter, new File(outNames.currentName()),
- new File(saxGoldName),
+ new File(sax2GoldName),
"exampleContentHandlerToContentHandler fileChecker
of:" + outNames.currentName());
}
catch (Throwable t)