1 | void setUp() {↵ | | 1 | void setUp() {↵
|
2 | configureProject("src/etc/testcases/taskdefs/ant.xml");↵ | | 2 | configureProject("src/etc/testcases/taskdefs/copyfile.xml");↵
|
3 | }↵ | | 3 | }↵
|
|
4 | public void tearDown() {↵ | | 4 | public void tearDown() {↵
|
5 | executeTarget("cleanup");↵ | | 5 | executeTarget("cleanup");↵
|
6 | }↵ | | 6 | }↵
|
|
7 | public void test1() {↵ | | 7 | public void test1() {↵
|
8 | expectBuildException("test1", "recursive call");↵ | | 8 | expectBuildException("test1", "re↵
|
9 | }↵ | | |
|
|
10 | // target must be specified↵ | | 9 | quired argument not specified");↵
|
| | | 10 | }↵
|
|
11 | public void test2() {↵ | | 11 | public void test2() {↵
|
12 | expectBuildException("test2", "required argument not specified");↵ | | 12 | expectBuildException("test2", "required argument not specified");↵
|
13 | }↵ | | 13 | }↵
|
|
14 | // Should fail since a recursion will occur...↵ | | |
|
15 | public void test3() {↵ | | 14 | public void test3() {↵
|
16 | expectBuildException("test1", "recursive call");↵ | | 15 | expectBuildException("test3", "required argument not specified");↵
|
17 | } | | 16 | }
|