conor 2003/04/04 05:53:18
Modified: src/testcases/org/apache/tools/ant TaskContainerTest.java
Log:
New task container test, which fails. This doesn't fail as badly
under 1.5.x but nevertheless is not functional
Revision Changes Path
1.3 +13 -0
ant/src/testcases/org/apache/tools/ant/TaskContainerTest.java
Index: TaskContainerTest.java
===================================================================
RCS file:
/home/cvs/ant/src/testcases/org/apache/tools/ant/TaskContainerTest.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -w -u -r1.2 -r1.3
--- TaskContainerTest.java 28 Mar 2003 08:42:00 -0000 1.2
+++ TaskContainerTest.java 4 Apr 2003 13:53:18 -0000 1.3
@@ -64,6 +64,10 @@
configureProject("src/etc/testcases/core/taskcontainer.xml");
}
+ public void tearDown() {
+ executeTarget("cleanup");
+ }
+
public void testPropertyExpansion() {
executeTarget("testPropertyExpansion");
assertTrue("attribute worked",
@@ -71,4 +75,13 @@
assertTrue("nested text worked",
getLog().indexOf("As nested text: it worked") > -1);
}
+
+ public void testTaskdef() {
+ executeTarget("testTaskdef");
+ assertTrue("attribute worked",
+ getLog().indexOf("As attribute: it worked") > -1);
+ assertTrue("nested text worked",
+ getLog().indexOf("As nested text: it worked") > -1);
+ }
+
}