1 | void testEmpty() {↵ | | 1 | void testFileSet() {↵
|
2 | expectBuildException("empty", "required argument not specified");↵ | | 2 | expectLogContaining("fileset", "types.FileSet");↵
|
3 | }↵ | | 3 | }↵
|
|
4 | public void testNoName() {↵ | | 4 | public void testFileSetAntType() {↵
|
5 | expectBuildException("noName", "required argument not specified");↵ | | 5 | expectLogContaining("fileset-ant-type", "types.PolyTest$MyFileSet");↵
|
6 | }↵ | | 6 | }↵
|
|
7 | public void testNoClassname() {↵ | | 7 | public void testPath() {↵
|
8 | expectBuildException("noClassname", "required argument not specified");↵ | | 8 | expectLogContaining("path", "types.Path");↵
|
9 | }↵ | | 9 | }↵
|
|
10 | public void testClassNotFound() {↵ | | 10 | public void testPathAntType() {↵
|
11 | expectBuildException("classNotFound",↵ | | 11 | expect↵
|
12 | "classname specified doesn't exist");↵ | | 12 | LogContaining("path-ant-type", "types.PolyTest$MyPath");↵
|
13 | } | | 13 | }
|