1 | void testNestedB() {↵ | | 1 | void testNoSourcefileDefined() {↵
|
2 | expectLogContaining("nested.b", "add B called");↵ | | 2 | expectBuildException("test↵
|
3 | }↵ | | |
|
| | | 3 | NoSourcefileDefined",↵
|
| | | 4 | "source file not defined");↵
|
| | | 5 | }↵
|
|
|
| | | 6 | /**↵
|
| | | 7 | * A unit test for JUnit↵
|
| | | 8 | */↵
|
4 | public void testNestedC() {↵ | | 9 | public void testNoPropertyDefined() {↵
|
5 | expectLogContaining("nested.c", "add C called");↵ | | 10 | expectBuildException("test↵
|
6 | }↵ | | |
|
| | | 11 | NoPropertyDefined",↵
|
| | | 12 | "output property not defined");↵
|
| | | 13 | }↵
|
|
|
| | | 14 | /**↵
|
| | | 15 | * A unit test for JUnit↵
|
| | | 16 | */↵
|
7 | public void testNestedAB() {↵ | | 17 | public void testNoSourcefilefound() {↵
|
8 | expectBuildExceptionContaining(↵ | | 18 | expectBuildExceptionContaining(↵
|
9 | "nested.ab", "Should hav↵ | | 19 | "testNoSourcefilefound",↵
|
10 | e got ambiguous", "ambiguous");↵ | | 20 | "File not found", " doesn't exist");↵
|
11 | | | 21 |
|