You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by jh...@apache.org on 2004/07/13 16:20:42 UTC
cvs commit: ant/src/testcases/org/apache/tools/ant/types/selectors ModifiedSelectorTest.java
jhm 2004/07/13 07:20:42
Modified: src/testcases/org/apache/tools/ant/types/selectors
ModifiedSelectorTest.java
Log:
Let Gump pass in Headless-mode
Revision Changes Path
1.10 +2 -2 ant/src/testcases/org/apache/tools/ant/types/selectors/ModifiedSelectorTest.java
Index: ModifiedSelectorTest.java
===================================================================
RCS file: /home/cvs/ant/src/testcases/org/apache/tools/ant/types/selectors/ModifiedSelectorTest.java,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- ModifiedSelectorTest.java 12 Jul 2004 15:04:13 -0000 1.9
+++ ModifiedSelectorTest.java 13 Jul 2004 14:20:42 -0000 1.10
@@ -149,12 +149,12 @@
public void testIllegalCustomAlgorithm() {
try {
- String algo = getAlgoName("javax.swing.JFrame");
+ String algo = getAlgoName("java.lang.Object");
fail("Illegal classname used.");
} catch (Exception e) {
assertTrue("Wrong exception type: " + e.getClass().getName(), e instanceof BuildException);
assertEquals("Wrong exception message.",
- "Specified class (javax.swing.JFrame) is not an Algorithm.",
+ "Specified class (java.lang.Object) is not an Algorithm.",
e.getMessage());
}
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org