1 | void testCore() {↵ | | 1 | void testConditionConditionType() {↵
|
2 | expectLog("core", "MyTask called");↵ | | 2 | expectLogContaining("condition.condition.type", "My Condition eval");↵
|
3 | }↵ | | 3 | }↵
|
|
4 | public void testExcluded() {↵ | | 4 | public void testConditionConditionTask() {↵
|
5 | expectBuildExceptionContaining(↵ | | 5 | expectBuildExceptionContaining(↵
|
6 | "excluded", "excluded uri",↵ | | 6 | "↵
|
7 | "Attempt to use a reserved URI ant:notallow↵ | | 7 | condition.condition.task", "task masking condition",↵
|
8 | ed");↵ | | 8 | "doesn't support the nested");↵
|
9 | }↵ | | 9 | }↵
|
|
10 | public void testOther() {↵ | | 10 | public void testAddConfigured() {↵
|
11 | expectLog("other", "a message↵ | | 11 | expectLogContaining(↵
|
12 | ");↵ | | 12 | "myaddconfigured", "value is Value Setexecute: value is Value Set");↵
|
13 | }↵ | | 13 | }↵
|
|
14 | public void testNsAttributes() {↵ | | 14 | public void testAddConfiguredValue() {↵
|
15 | expectLog("ns.attributes", "hello world↵ | | 15 | expectLogContaining(↵
|
| | | 16 | "myaddconfiguredvalue",↵
|
16 | ");↵ | | 17 | "value is Value Setexecute: value is Value Set");↵
|
17 | | | 18 |
|