1 | void testMissingFileIgnore() {↵ | | 1 | void testMissingDirIgnore() {↵
|
2 | expectLogContaining("testMissingFileIgnore",↵ | | 2 | expectLogContaining("testMissingDirIgnore",↵
|
3 | "Warning: Could not find file ");↵ | | 3 | "Warning: ");↵
|
4 | }↵ | | 4 | }↵
|
|
5 | public void testMissingFileBail() {↵ | | 5 | public void testMissingDirBail() {↵
|
6 | expectBuildException("testMissingFileBail", "not-there doesn't exist");↵ | | 6 | expectBuildException("testMissingDirBail", "not-there doesn't exist");↵
|
7 | assertTrue(getBuildException().getMessage()↵ | | 7 | assertTrue(getBuildException().getMessage()↵
|
8 | .startsWith("Warning: Could not find file "));↵ | | 8 | .endsWith(" not found."));↵
|
9 | | | 9 |
|