1 | void testXmlnsFile() {↵ | | 1 | void test↵
|
2 | expectLog("xmlns.file", "MyTask call↵ | | 2 | NoSourcefileDefined() {↵
|
| | | 3 | expectBuildException("testNoSourcefileDefined",↵
|
3 | ed");↵ | | 4 | "source file not defined");↵
|
4 | }↵ | | 5 | }↵
|
|
|
5 | public void testCore() {↵ | | 6 | ↵
|
6 | expectLog("core", "MyTask called");↵ | | |
|
7 | }↵ | | |
|
| | | 7 | /**↵
|
| | | 8 | * A unit test for JUnit↵
|
| | | 9 | */↵
|
| | | 10 | public void testNoPropertyDefined() {↵
|
| | | 11 | expectBuildException("testNoPropertyDefined",↵
|
| | | 12 | "output property not defined");↵
|
| | | 13 | }↵
|
|
|
| | | 14 | /**↵
|
| | | 15 | * A unit test for JUnit↵
|
| | | 16 | */↵
|
8 | public void testExcluded() {↵ | | 17 | public void testNoSourcefilefound() {↵
|
9 | expectBuildExceptionContaining(↵ | | 18 | expectBuildExceptionContaining(↵
|
10 | "excluded", "excluded uri",↵ | | |
|
| | | 19 | "testNoSourcefilefound",↵
|
11 | "Attempt to use a reserved URI ant:notallowed");↵ | | 20 | "File not found", " doesn't exist");↵
|
12 | | | 21 |
|