1 | void testBasic() {↵ | | 1 | void testExceptingFork() {↵
|
2 | expectPropertySet("basic","basic↵ | | 2 | expectLogContaining("testExceptingFork",↵
|
3 | ");↵ | | 3 | "Java Result:");↵
|
4 | }↵ | | 4 | }↵
|
|
5 | public void testConditionIncomplete() {↵ | | 5 | public void testExceptingFoe() {↵
|
6 | expectSpecificBuildException("condition-incomplete",↵ | | 6 | expectBuildException↵
|
7 | "property attribute has been omitted",↵ | | |
|
8 | "The property attribute is required.↵ | | 7 | Containing("testExceptingFoe",↵
|
| | | 8 | "passes exception through",↵
|
9 | ");↵ | | 9 | "Exception raised inside called program");↵
|
10 | }↵ | | 10 | }↵
|
|
11 | public void testConditionEmpty() {↵ | | 11 | public void testExceptingFoeFork() {↵
|
12 | expectSpecificBuildException("condition-empty",↵ | | 12 | expectBuildException↵
|
13 | "no conditions",↵ | | |
|
14 | "You must nest a condition into <condition>↵ | | 13 | Containing("testExceptingFoeFork",↵
|
| | | 14 | "exceptions turned into error codes",↵
|
15 | ");↵ | | 15 | "Java returned:");↵
|
16 | | | 16 |
|