1 | void testReadBadFileNoFail() {↵ | | 1 | void testExceptingFork() {↵
|
2 | expectLog( "testReadBadFileNoFail", "srcfile is a directory!" ↵ | | 2 | expectLogContaining("testExceptingFork",↵
|
3 | );↵ | | 3 | "Java Result:");↵
|
4 | }↵ | | 4 | }↵
|
|
|
5 | public void testEchoToBadFile() {↵ | | 5 | public void testExceptingFoe() {↵
|
6 | expectBuildExceptionContaining( "testEchoToBadFile",↵ | | 6 | expectBuildExceptionContaining("testExceptingFoe",↵
|
7 | "destfile is a directory", "destfile is a directory!" ↵ | | 7 | "passes exception through",↵
|
8 | );↵ | | 8 | "Exception raised inside called program");↵
|
9 | }↵ | | 9 | }↵
|
|
|
10 | public void testEchoToBadFileFail() {↵ | | 10 | public void testExceptingFoeFork() {↵
|
11 | expectBuildExceptionContaining( "testEchoToBadFileFail",↵ | | 11 | expectBuildExceptionContaining("testE↵
|
12 | "destfile is a directory", "destfile is a directory!" ↵ | | 12 | xceptingFoeFork",↵
|
| | | 13 | "exceptions turned into error codes",↵
|
13 | );↵ | | 14 | "Java returned:");↵
|
14 | | | 15 |
|