1 | void testNoSourcefileDefined() {↵ | | 1 | void test↵
|
2 | expectBuildException("testNoSourcefileDefined",↵ | | |
|
3 | "source file not defined");↵ | | |
|
4 | }↵ | | |
|
|
|
5 | /**↵ | | |
|
6 | * A unit test for JUnit↵ | | 2 | ConditionTask() {↵
|
| | | 3 | expectLogContaining("condition.task", "My Condition execution");↵
|
7 | */↵ | | 4 | }↵
|
8 | public void testNoPropertyDefined() {↵ | | 5 | public void test↵
|
9 | expectBuildException("testNoPropertyDefined",↵ | | |
|
10 | "output property not defined");↵ | | |
|
11 | }↵ | | |
|
|
|
12 | /**↵ | | |
|
13 | * A unit test for JUnit↵ | | |
|
14 | */↵ | | |
|
15 | public void testNoSourcefilefound↵ | | 6 | ConditionConditionType() {↵
|
| | | 7 | expectLogContaining("condition.condition.type", "My Condition eval");↵
|
| | | 8 | }↵
|
16 | () {↵ | | 9 | public void testConditionConditionTask() {↵
|
17 | expectBuildExceptionContaining("testNoSourcefilefound",↵ | | 10 | expectBuildExceptionContaining(↵
|
18 | "File not found", " doesn't exist↵ | | |
|
| | | 11 | "condition.condition.task", "task masking condition",↵
|
19 | ");↵ | | 12 | "doesn't support the nested");↵
|
20 | | | 13 |
|