Thu Nov 27 11:19:52 CET 2003 Starting test case: /Users/stefano/Code/slide/testsuite/bin/../testsuite/junit/ xmltestcases/DASL/functional/select/XPATH/ 32_singleNonExistentXPathSingleNonExistentWhere.xml
Thu Nov 27 11:19:52 CET 2003 FAILED test case: /Users/stefano/Code/slide/testsuite/bin/../testsuite/junit/ xmltestcases/DASL/functional/select/XPATH/ 32_singleNonExistentXPathSingleNonExistentWhere.xml
Thu Nov 27 11:19:52 CET 2003 Starting test case: /Users/stefano/Code/slide/testsuite/bin/../testsuite/junit/ xmltestcases/DASL/functional/select/XPATH/ 33_singleXPathSingWhereRefName.xml
Thu Nov 27 11:19:53 CET 2003 FAILED test case: /Users/stefano/Code/slide/testsuite/bin/../testsuite/junit/ xmltestcases/DASL/functional/select/XPATH/ 33_singleXPathSingWhereRefName.xml
and I found it hard ot see if a test passed or failed. after applying the attached patch, the output results
PropPatch423File.xml ................................................. FAILED
PropPatchDeleteDAVPropertyWithPropFindOnContentLanguage.xml .......... passed
PropPatchDeleteDAVPropertyWithPropFindOnContentLength.xml ............ passed
PropPatchDeleteDAVPropertyWithPropFindOnCreationDate.xml ............. passed
PropPatchDeleteDAVPropertyWithPropFindOnDisplayName.xml .............. passed
PropPatchDeleteDAVPropertyWithPropFindOnETag.xml ..................... passed
PropPatchDeleteDAVPropertyWithPropFindOnLastModified.xml ............. passed
PropPatchDeleteDAVPropertyWithPropFindOnLockDiscovery.xml ............ FAILED
PropPatchDeleteDAVPropertyWithPropFindOnresourcetype.xml ............. passed
PropPatchDeleteDAVPropertyWithPropFindOnSource.xml ................... passed
PropPatchDeleteDAVPropertyWithPropFindOnSupportedLock.xml ............ passed
UserDefined_C.xml .................................................... passed
UserDefined_CCI.xml .................................................. passed
UserDefined_CDI.xml .................................................. passed
UserDefined_CIC.xml .................................................. passed
UserDefined_CID.xml .................................................. passed
UserDefined_CIM.xml .................................................. passed
UserDefined_CMdifferent.xml .......................................... passed
UserDefined_CMI.xml .................................................. passed
UserDefined_CMsame.xml ............................................... passed
UserDefined_D.xml .................................................... passed
UserDefined_ICC.xml .................................................. passed
which is also much more suitable for cut/paste into emails.
HTH
-- Stefano.
Index: org/apache/slide/testsuite/testtools/tprocessor/TProcessors.java
===================================================================
RCS file:
/home/cvspublic/jakarta-slide/testsuite/testsuite/junit/src/org/apache/slide/testsuite/testtools/tprocessor/TProcessors.java,v
retrieving revision 1.72
diff -u -u -b -r1.72 TProcessors.java
--- org/apache/slide/testsuite/testtools/tprocessor/TProcessors.java 15 Nov 2003
14:41:11 -0000 1.72
+++ org/apache/slide/testsuite/testtools/tprocessor/TProcessors.java 27 Nov 2003
11:50:00 -0000
@@ -445,9 +445,17 @@
this.xmlresult = new XMLOutput(xmlresultPar);
}
+ String name = testfile.getName();
+ name = name.substring(0,name.lastIndexOf(".xml"));
+ int dots = 65 - name.length();
+ StringBuffer b = new StringBuffer(dots);
+ b.append(' ');
+ for (int i = 0; i < dots; i++) {
+ b.append('.');
+ }
+ b.append(' ');
- System.out.println("");
- System.out.println(new Date() + " Starting test case: " +
testfile.getAbsolutePath());
+ System.out.print(testfile.getName() + b);
xmlresult.writeRootElementStart("testCase");
xmlresult.writeElement("fileName", testfile.getAbsolutePath());
@@ -474,12 +482,15 @@
xmlresult.flush();
- if (testElementsExecutedWithError!=0) System.out.println(new Date() + "
FAILED test case: " + testfile.getAbsolutePath());
+ if (testElementsExecutedWithError != 0) {
+ System.out.println("FAILED");
+ } else {
+ System.out.println("passed");
+ }
+
// System.out.println("Ending test case: " + testfile.getAbsolutePath());
// System.out.println("");
// try {System.in.read();} catch (Exception e) {}
-
-
return testElementsExecutedWithError==0;
smime.p7s
Description: S/MIME cryptographic signature
