You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by dg...@apache.org on 2003/05/01 04:40:22 UTC
cvs commit: jakarta-commons/validator/src/test/org/apache/commons/validator UrlTest.java
dgraham 2003/04/30 19:40:22
Modified: validator/src/test/org/apache/commons/validator UrlTest.java
Log:
Commented out System.out.println() calls which cut test run time in half. If the tests
fail you can uncomment these lines to see what's going on,
otherwise they're just slowing us down.
Revision Changes Path
1.2 +7 -7 jakarta-commons/validator/src/test/org/apache/commons/validator/UrlTest.java
Index: UrlTest.java
===================================================================
RCS file: /home/cvs/jakarta-commons/validator/src/test/org/apache/commons/validator/UrlTest.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- UrlTest.java 30 Apr 2003 18:47:33 -0000 1.1
+++ UrlTest.java 1 May 2003 02:40:22 -0000 1.2
@@ -123,15 +123,15 @@
}
String url = testBuffer.toString();
boolean result = urlVal.isValid(url);
- System.out.print(testPartsIndextoString());
+ //System.out.print(testPartsIndextoString());
assertEquals(url, expected, result);
printed++;
if (printed == statusPerLine) {
- System.out.println();
+ //System.out.println();
printed = 0;
}
} while (incrementTestPartsIndex(testPartsIndex, testObjects));
- System.out.println();
+ //System.out.println();
}
static boolean incrementTestPartsIndex(int[] testPartsIndex, Object[] testParts) {
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org