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 2001/11/09 20:44:04 UTC
cvs commit: xml-xalan/test/java/src/org/apache/qetest Reporter.java
curcuru 01/11/09 11:44:04
Modified: test/java/src/org/apache/qetest Reporter.java
Log:
Add logFile attribute to mini Pass-*/Fail-* minilogfiles in writeResultsStatus()
Revision Changes Path
1.9 +6 -2 xml-xalan/test/java/src/org/apache/qetest/Reporter.java
Index: Reporter.java
===================================================================
RCS file: /home/cvs/xml-xalan/test/java/src/org/apache/qetest/Reporter.java,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- Reporter.java 2001/08/14 17:22:08 1.8
+++ Reporter.java 2001/11/09 19:44:04 1.9
@@ -93,7 +93,7 @@
* @todo explain better how results are rolled up and calculated
* @author Shane_Curcuru@lotus.com
* @author Jo_Grant@lotus.com
- * @version $Id: Reporter.java,v 1.8 2001/08/14 17:22:08 curcuru Exp $
+ * @version $Id: Reporter.java,v 1.9 2001/11/09 19:44:04 curcuru Exp $
*/
public class Reporter implements Logger
{
@@ -1569,6 +1569,10 @@
Hashtable resultsHash = createResultsStatusHash();
resultsHash.put("desc", testComment);
resultsHash.put("testName", testName);
+ //@todo the actual path in the property below may not necessarily
+ // either exist or be the correct location vis-a-vis the file
+ // that we're writing out - but it should be close
+ resultsHash.put(OPT_LOGFILE, reporterProps.getProperty(OPT_LOGFILE));
String elementName = "teststatus";
String overallResult = resultToString(getCurrentFileResult());
@@ -1598,7 +1602,7 @@
logFileBase = (new File(reporterProps.getProperty(OPT_LOGFILE, "ResultsSummary.xml"))).getAbsolutePath();
}
logFileBase = (new File(logFileBase)).getParent();
- File[] summaryFiles =
+ final File[] summaryFiles =
{
// Note array is ordered; should be re-designed so this doesn't matter
// Coordinate PASS name with results.marker in build.xml
---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-cvs-help@xml.apache.org