1 | void testRunFailFoeFork() {↵ | | 1 | void testJarNoFork() {↵
|
2 | expectBuildExceptionContaining("testRunFailFoeFork",↵ | | 2 | expectBuildExceptionContaining("testJarNoFork",↵
|
3 | "java failures being propagated",↵ | | 3 | "↵
|
4 | "Java returned:↵ | | 4 | parameter validation",↵
|
| | | 5 | "Cannot execute a jar in non-forked mode. "↵
|
5 | ");↵ | | 6 | + "Please set fork='true'. ");↵
|
6 | }↵ | | 7 | }↵
|
|
7 | public void testExcepting() {↵ | | 8 | public void testJarAndClassName() {↵
|
8 | expectLogContaining("testExcepting",↵ | | 9 | expect↵
|
9 | "Exception raised inside called program↵ | | 10 | BuildException("testJarAndClassName",↵
|
10 | ");↵ | | 11 | "Should not be able to set both classname AND jar");↵
|
11 | }↵ | | 12 | }↵
|
|
|
12 | public void testExceptingFork() {↵ | | 13 | public void testClassnameAndJar() {↵
|
13 | expectLogContaining("testExceptingFork",↵ | | 14 | expect↵
|
14 | "Java Result:↵ | | 15 | BuildException("testClassnameAndJar",↵
|
15 | ");↵ | | 16 | "Should not be able to set both classname AND jar");↵
|
16 | | | 17 |
|