1 | void testJarNoFork() {↵ | | 1 | void testFilesmatchIncomplete() {↵
|
2 | expectBuildExceptionContaining("testJarNoFork",↵ | | 2 | expectSpecificBuildException↵
|
3 | "parameter validation",↵ | | |
|
4 | "Cannot execute a jar in non-forked mode. "↵ | | |
|
| | | 3 | ("filesmatch-incomplete",↵
|
| | | 4 | "Missing file2 attribute",↵
|
5 | + "Please set fork='true'. ");↵ | | 5 | "both file1 and file2 are required in filesmatch");↵
|
6 | }↵ | | 6 | }↵
|
|
7 | public void testJarAndClassName() {↵ | | 7 | public void testFilesmatchOddsizes() {↵
|
8 | expectBuildException("testJarAndClassName",↵ | | 8 | expect↵
|
9 | "Should not be able to set both classname AND jar");↵ | | 9 | PropertyUnset("filesmatch-oddsizes","filesmatch-oddsizes");↵
|
10 | }↵ | | 10 | }↵
|
|
|
11 | public void testClassnameAndJar() {↵ | | 11 | public void test↵
|
12 | expectBuildException("testClassnameAndJar",↵ | | |
|
13 | "Should not be able to set both classname AND jar↵ | | 12 | FilesmatchExistence() {↵
|
14 | ");↵ | | 13 | expectPropertyUnset("filesmatch-existence", "filesmatch-existence");↵
|
15 | | | 14 |
|