1 | void testEmpty() {↵ | | 1 | void testDefaultTest() {↵
|
2 | expectBuildException("empty", "required argument not specified");↵ | | 2 | expectLog("defaulttest", "attribute is false");↵
|
3 | }↵ | | 3 | }↵
|
|
4 | public void testNoName() {↵ | | 4 | public void testDoubleDefault() {↵
|
5 | expectBuildException("noName", "required argument not specified");↵ | | 5 | expectLog("doubledefault", "attribute is falseattribute is true");↵
|
6 | }↵ | | 6 | }↵
|
|
7 | public void testNoClassname() {↵ | | 7 | public void testTextOptional() {↵
|
8 | expectBuildException("noClassname", "required argument not specified");↵ | | 8 | expectLog("text.optional", "MyTextoverride text");↵
|
9 | }↵ | | 9 | }↵
|
|
10 | public void testClassNotFound() {↵ | | 10 | public void testElementOrder() {↵
|
11 | expectBuildException("classNotFound",↵ | | 11 | expect↵
|
12 | "classname specified doesn't exist");↵ | | 12 | Log("element.order", "Line 1Line 2");↵
|
13 | | | 13 |
|