1 | JUnitTaskTest(String name) {↵ | | 1 | CopyfileTest(String name) {↵
|
2 | super(name);↵ | | 2 | super(name);↵
|
3 | }↵ | | 3 | }↵
|
|
|
4 | /**↵ | | |
|
5 | * The JUnit setup method↵ | | |
|
6 | */↵ | | |
|
7 | public void setUp() {↵ | | 4 | public void setUp() {↵
|
8 | configureProject("src/etc/testcases/taskdefs/optional/junit.xml");↵ | | 5 | configureProject("src/etc/testcases/taskdefs/copyfile.xml");↵
|
9 | }↵ | | 6 | }↵
|
|
|
10 | /**↵ | | |
|
11 | * The teardown method for JUnit↵ | | |
|
12 | */↵ | | |
|
13 | public void tearDown() {↵ | | 7 | public void tearDown() {↵
|
14 | executeTarget("cleanup");↵ | | 8 | executeTarget("cleanup");↵
|
15 | }↵ | | 9 | }↵
|
|
16 | public void testCrash() {↵ | | 10 | public void test1() {↵
|
17 | expectPropertySet("crash", "crashed");↵ | | 11 | expectBuildException("test1", "required argument not specified");↵
|
18 | | | 12 |
|