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