1 | void setUp() {↵ | | 1 | void setUp() {↵
|
2 | configureProject("src/etc/testcases/taskdefs/concat.xml");↵ | | 2 | configureProject("src/etc/testcases/taskdefs/ant.xml");↵
|
3 | }↵ | | 3 | }↵
|
|
4 | /**↵ | | 4 | ↵
|
5 | * Test tear down, called by the unit test framework prior to each↵ | | |
|
6 | * test.↵ | | |
|
7 | */↵ | | |
|
8 | public void tearDown() {↵ | | |
|
9 | executeTarget("cleanup");↵ | | |
|
10 | }↵ | | |
|
|
11 | /**↵ | | |
|
12 | * Expect an exception when insufficient information is provided.↵ | | |
|
13 | */↵ | | 5 | public void tearDown() {↵
|
| | | 6 | executeTarget("cleanup");↵
|
| | | 7 | }↵
|
|
14 | public void test1() {↵ | | 8 | public void test1() {↵
|
15 | expectBuildException("test1", "Insufficient information.");↵ | | 9 | expectBuildException("test1", "↵
|
16 | }↵ | | |
|
|
17 | /**↵ | | |
|
18 | * Expect an exception when the destination file is invalid.↵ | | |
|
19 | */↵ | | 10 | recursive call");↵
|
| | | 11 | }↵
|
|
| | | 12 | // target must be specified↵
|
20 | public void test2() {↵ | | 13 | public void test2() {↵
|
21 | expectBuildException("test2", "Invalid destination file.");↵ | | 14 | expectBuildException("test2", "required argument not specified");↵
|
22 | | | 15 |
|