1 | void test1() {↵ | | 1 | void test↵
|
2 | expectBuildException↵ | | 2 | RecreateWithoutUpdateAdditionalFiles() {↵
|
3 | ("test1", "recursive call");↵ | | 3 | testRecreate("test4", "↵
|
4 | }↵ | | |
|
|
5 | // target must be specified↵ | | |
|
6 | public void test2() {↵ | | |
|
7 | expectBuildException↵ | | 4 | testRecreateWithoutUpdateAdditionalFiles");↵
|
| | | 5 | }↵
|
|
| | | 6 | public void testRecreateWithUpdateAdditionalFiles() {↵
|
8 | ("test2", "required argument not specified");↵ | | 7 | testRecreate("test4", "↵
|
9 | }↵ | | |
|
|
10 | // Should fail since a recursion will occur...↵ | | |
|
11 | public void test3() {↵ | | |
|
12 | expectBuildException("test1", "recursive call↵ | | 8 | testRecreateWithUpdateAdditionalFiles");↵
|
| | | 9 | }↵
|
|
| | | 10 | public void testRecreateWithoutUpdateNewerFile() {↵
|
| | | 11 | testRecreate("testRecreateNewerFileSetup",↵
|
13 | ");↵ | | 12 | "testRecreateWithoutUpdateNewerFile");↵
|
14 | }↵ | | 13 | }↵
|
|
15 | public void test4() {↵ | | 14 | public void test↵
|
16 | expectBuildException("test4", "target attribute must not be empty↵ | | 15 | RecreateWithUpdateNewerFile() {↵
|
| | | 16 | testRecreate("testRecreateNewerFileSetup",↵
|
17 | ");↵ | | 17 | "testRecreateWithUpdateNewerFile");↵
|
18 | } | | 18 | }
|