curcuru 01/11/28 16:06:32
Modified: test/java/src/org/apache/qetest/trax/sax
SAXResultAPITest.java
Log:
Update fileChecks to not bother logging fail info; is already logged by
FileCheckServices
Revision Changes Path
1.6 +10 -16
xml-xalan/test/java/src/org/apache/qetest/trax/sax/SAXResultAPITest.java
Index: SAXResultAPITest.java
===================================================================
RCS file:
/home/cvs/xml-xalan/test/java/src/org/apache/qetest/trax/sax/SAXResultAPITest.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- SAXResultAPITest.java 2001/03/22 19:57:14 1.5
+++ SAXResultAPITest.java 2001/11/29 00:06:32 1.6
@@ -94,7 +94,7 @@
/**
* API Coverage test for the SAXResult class of TRAX.
* @author [EMAIL PROTECTED]
- * @version $Id: SAXResultAPITest.java,v 1.5 2001/03/22 19:57:14 curcuru Exp
$
+ * @version $Id: SAXResultAPITest.java,v 1.6 2001/11/29 00:06:32 curcuru Exp
$
*/
public class SAXResultAPITest extends XSLProcessorTestBase
{
@@ -453,13 +453,11 @@
reporter.logTraceMsg("transform(new StreamSource(" + xmlURI +
"), loggingSaxResult)");
transformer.transform(new StreamSource(xmlURI), saxResult);
fos.close(); // must close ostreams we own
- if (Logger.PASS_RESULT
- != fileChecker.check(reporter,
+ reporter.logStatusMsg("Closed result stream from
loggingSaxResult, about to check result");
+ fileChecker.check(reporter,
new File(outNames.currentName()),
new File(dtdFileInfo.goldName),
- "transform loggingSaxResult into: " +
outNames.currentName())
- )
- reporter.logInfoMsg("transform loggingSaxResult failure
reason:" + fileChecker.getExtendedInfo());
+ "transform loggingSaxResult into: " +
outNames.currentName());
reporter.logWarningMsg("//@todo validate that llh got lexical
events: Bugzilla#888");
reporter.logWarningMsg("//@todo validate that lch got content
events");
}
@@ -493,13 +491,11 @@
reporter.logTraceMsg("identityTransform(new StreamSource(" +
xmlURI + "), loggingSaxResult)");
identityTransformer.transform(new StreamSource(xmlURI),
saxResult);
fos.close(); // must close ostreams we own
- if (Logger.PASS_RESULT
- != fileChecker.check(reporter,
+ reporter.logStatusMsg("Closed result stream from
loggingSaxResult, about to check result");
+ fileChecker.check(reporter,
new File(outNames.currentName()),
new File(dtdFileInfo.xmlName),
- "identity transform loggingSaxResult into: " +
outNames.currentName())
- )
- reporter.logInfoMsg("identity transform loggingSaxResult
failure reason:" + fileChecker.getExtendedInfo());
+ "identity transform loggingSaxResult into: " +
outNames.currentName());
reporter.logWarningMsg("//@todo validate that llh got lexical
events: Bugzilla#888");
reporter.logWarningMsg("//@todo validate that lch got content
events");
}
@@ -544,13 +540,11 @@
reporter.logTraceMsg("transform(new DOMSource(" + xmlURI + "),
loggingSaxResult)");
transformer.transform(new DOMSource(xmlNode), saxResult);
fos.close(); // must close ostreams we own
- if (Logger.PASS_RESULT
- != fileChecker.check(reporter,
+ reporter.logStatusMsg("Closed result stream from
loggingSaxResult, about to check result");
+ fileChecker.check(reporter,
new File(outNames.currentName()),
new File(dtdFileInfo.goldName),
- "transform DOM-loggingSaxResult into: " +
outNames.currentName())
- )
- reporter.logInfoMsg("transform DOM-loggingSaxResult failure
reason:" + fileChecker.getExtendedInfo());
+ "transform DOM-loggingSaxResult into: " +
outNames.currentName());
reporter.logWarningMsg("//@todo validate that llh got lexical
events: Bugzilla#888");
reporter.logWarningMsg("//@todo validate that lch got content
events");
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]