1 | void testNestedA() {↵ | | 1 | void testElementOrder() {↵
|
2 | expectLogContaining("nested.a", "add A called");↵ | | 2 | expectLog("element.order", "Line 1Line 2");↵
|
3 | }↵ | | 3 | }↵
|
|
4 | public void testNestedB() {↵ | | 4 | public void testElementOrder2() {↵
|
5 | expectLogContaining("nested.b", "add B called");↵ | | 5 | expectLog("element.order2", "Line 1Line 2Line 3");↵
|
6 | }↵ | | 6 | }↵
|
|
7 | public void testNestedC() {↵ | | 7 | public void testAntTypeTest() {↵
|
8 | expectLogContaining("nested.c", "add C called");↵ | | 8 | expectLog("antTypeTest", "");↵
|
9 | }↵ | | 9 | }↵
|
|
10 | public void testNestedAB() {↵ | | 10 | public void testCorrectTaskNameBadAttr() {↵
|
11 | expectBuildExceptionContaining(↵ | | 11 | expectBuildExceptionContaining(↵
|
12 | "nested.ab", "Should have got ambiguous", "ambiguous");↵ | | 12 | "correct_taskname_badattr", "attribute message", "javac doesn't support the");↵
|
13 | } | | 13 | }
|