| | | 1 | void testSimple() {↵
|
| | | 2 | expectLog("simple", "Hello world");↵
|
| | | 3 | }↵
|
|
1 | void testText() {↵ | | 4 | public void testText() {↵
|
2 | expectLog("text", "Inner Text");↵ | | 5 | expectLog("text", "Inner Text");↵
|
3 | }↵ | | 6 | }↵
|
|
4 | public void testUri() {↵ | | 7 | public void testUri() {↵
|
5 | expectLog("uri", "Hello world");↵ | | 8 | expectLog("uri", "Hello world");↵
|
6 | }↵ | | 9 | }↵
|
|
7 | public void testDefaultTest() {↵ | | 10 | public void testDefaultTest() {↵
|
8 | expectLog("defaulttest", "attribute is false");↵ | | 11 | expectLog("defaulttest", "attribute is false");↵
|
9 | }↵ | | 12 | }↵
|
|
10 | public void testDoubleDefault() {↵ | | 13 | public void testDoubleDefault() {↵
|
11 | expectLog("doubledefault", "attribute is falseattribute is true");↵ | | 14 | expectLog("doubledefault", "attribute is falseattribute is true");↵
|
12 | }↵ | | 15 | }↵
|
|
13 | public void testTextOptional() {↵ | | 16 | public void testTextOptional() {↵
|
14 | expectLog("text.optional", "MyTextoverride text");↵ | | 17 | expectLog("text.optional", "MyTextoverride text");↵
|
15 | }↵ | | 18 | }↵
|
|
16 | public void testElementOrder() {↵ | | 19 | public void testElementOrder() {↵
|
17 | expectLog("element.order", "Line 1Line 2");↵ | | 20 | expectLog("element.order", "Line 1Line 2");↵
|
18 | }↵ | | 21 | }↵
|
|
19 | public void testElementOrder2() {↵ | | 22 | public void testElementOrder2() {↵
|
20 | expectLog("element.order2", "Line 1Line 2Line 3");↵ | | 23 | expectLog("element.order2", "Line 1Line 2Line 3");↵
|
21 | }↵ | | 24 |
|
|
22 | public void testAntTypeTest() {↵ | | | |
23 | expectLog("antTypeTest", "");↵ | | | |
24 | | | | |