1 | void testSimple() {↵ | | 1 | void test↵
|
2 | executeTarget("simple");↵ | | |
|
3 | }↵ | | |
|
4 | public void testName() {↵ | | |
|
5 | executeTarget("name");↵ | | |
|
6 | }↵ | | |
|
7 | public void testBaseDir()↵ | | 2 | CscReferences() throws Exception {↵
|
| | | 3 | executeTarget("testCscReferences");↵
|
| | | 4 | }↵
|
|
| | | 5 | /**↵
|
| | | 6 | * A unit test for JUnit↵
|
| | | 7 | */↵
|
| | | 8 | public void testCscResources() throws Exception {↵
|
| | | 9 | executeTarget("testCSCResources");↵
|
| | | 10 | }↵
|
|
| | | 11 | /**↵
|
| | | 12 | * test we can assemble↵
|
| | | 13 | */↵
|
8 | {↵ | | 14 | public void testILASM() throws Exception {↵
|
9 | executeTarget("basedir");↵ | | 15 | executeTarget("testILASM");↵
|
10 | }↵ | | 16 | }↵
|
11 | public void testType()↵ | | |
|
| | | 17 | /**↵
|
| | | 18 | * test we can disassemble↵
|
| | | 19 | */↵
|
12 | {↵ | | 20 | public void testILDASM() throws Exception {↵
|
13 | executeTarget("type");↵ | | 21 | executeTarget("testILDASM");↵
|
14 | }↵ | | 22 | }↵
|
15 | public void testNotSelector() {↵ | | |
|
16 | expectBuildExceptionContaining(↵ | | |
|
17 | "not.selector", "checking for use as a selector (not allowed)",↵ | | |
|
18 | "fileset doesn't support the nested \"isfile↵ | | |
|
| | | 23 | /**↵
|
| | | 24 | * test we can disassemble↵
|
| | | 25 | */↵
|
| | | 26 | public void testILDASM_empty() throws Exception {↵
|
| | | 27 | expectBuildExceptionContaining("testILDASM_empty",↵
|
| | | 28 | "parameter validation",↵
|
19 | ");↵ | | 29 | "invalid");↵
|
20 | | | 30 |
|