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