1 | void testXmlns() {↵ | | 1 | void testConditionType() {↵
|
2 | expectLog("xmlns", "MyTask called");↵ | | 2 | expectLogContaining("condition.type", "beforeafter");↵
|
3 | }↵ | | 3 | }↵
|
|
4 | public void testXmlnsFile() {↵ | | 4 | public void testConditionTask() {↵
|
5 | expectLog("xmlns.file", "MyTask called");↵ | | 5 | expectLogContaining("condition.task", "My Condition execution");↵
|
6 | }↵ | | 6 | }↵
|
|
7 | public void testCore() {↵ | | 7 | public void testConditionConditionType() {↵
|
8 | expectLog("core", "MyTask called");↵ | | 8 | expectLogContaining("condition.condition.type", "My Condition eval");↵
|
9 | }↵ | | 9 | }↵
|
|
10 | public void testExcluded() {↵ | | 10 | public void testConditionConditionTask() {↵
|
11 | expectBuildExceptionContaining(↵ | | 11 | expectBuildExceptionContaining(↵
|
12 | "excluded", "excluded uri",↵ | | 12 | "↵
|
13 | "Attempt to use a reserved URI ant:notallow↵ | | 13 | condition.condition.task", "task masking condition",↵
|
14 | ed");↵ | | 14 | "doesn't support the nested");↵
|
15 | | | 15 |
|