1 | void setUp() {↵ | | 1 | void setUp() {↵
|
2 | configureProject(TASKDEFS_DIR + "xmlvalidate.xml");↵ | | 2 | configureProject(TASKDEFS_DIR + "dotnet.xml");↵
|
3 | }↵ | | 3 | }↵
|
|
|
4 | /**↵ | | 4 | /**↵
|
5 | * The teardown method for JUnit↵ | | 5 | * The teardown method for JUnit↵
|
6 | */↵ | | 6 | */↵
|
7 | public void tearDown() {}↵ | | 7 | public void tearDown() {↵
|
|
8 | /**↵ | | |
|
9 | * Basic inline 'dtd' element test.↵ | | |
|
| | | 8 | executeTarget("teardown");↵
|
| | | 9 | }↵
|
|
|
| | | 10 | /**↵
|
| | | 11 | * A unit test for JUnit↵
|
10 | */↵ | | 12 | */↵
|
11 | public void testValidate() throws Exception {↵ | | 13 | public void testCSC() throws Exception {↵
|
12 | executeTarget("testValidate");↵ | | 14 | executeTarget("testCSC");↵
|
13 | }↵ | | 15 | }↵
|
|
|
14 | /**↵ | | 16 | /**↵
|
15 | * Test indirect validation.↵ | | 17 | * A unit test for JUnit↵
|
16 | */↵ | | 18 | */↵
|
17 | public void testDeepValidate() throws Exception {↵ | | 19 | public void testCSCintrinsicFileset() throws Exception {↵
|
18 | executeTarget("testDeepValidate");↵ | | 20 | executeTarget("testCSCintrinsicFileset");↵
|
19 | }↵ | | 21 | }↵
|
|
|
20 | /**↵ | | 22 | /**↵
|
21 | *↵ | | 23 | *↵
|
22 | */↵ | | |
|
23 | public void testXmlCatalog() {↵ | | |
|
24 | executeTarget("xmlcatalog");↵ | | |
|
25 | }↵ | | |
|
|
26 | /**↵ | | |
|
27 | *↵ | | 24 | A unit test for JUnit↵
|
28 | */↵ | | 25 | */↵
|
29 | public void testXmlCatalogViaRefid() {↵ | | 26 | public void testCSCdll() throws Exception {↵
|
30 | executeTarget("xmlcatalogViaRefid");↵ | | 27 | executeTarget("testCSCdll");↵
|
31 | }↵ | | 28 | }↵
|
|
32 | /**↵ | | 29 | /**↵
|
33 | * Test that the nested dtd element is used when resolver.jar is not↵ | | 30 | * ↵
|
34 | * present. This test should pass either way.↵ | | |
|
35 | */↵ | | |
|
36 | public void testXmlCatalogFiles()↵ | | 31 | A unit test for JUnit↵
|
| | | 32 | */↵
|
37 | {↵ | | 33 | public void testCscReferences() throws Exception {↵
|
38 | executeTarget("xmlcatalogfiles-override");↵ | | 34 | executeTarget("testCscReferences");↵
|
39 | }↵ | | 35 | }↵
|
|
40 | /**↵ | | 36 | /**↵
|
41 | * Test nested catalogpath.↵ | | 37 | * ↵
|
42 | * Test that the nested dtd element is used when resolver.jar is not↵ | | |
|
43 | * present. This test should pass either way.↵ | | |
|
44 | */↵ | | |
|
45 | public void testXmlCatalogPath()↵ | | 38 | A unit test for JUnit↵
|
| | | 39 | */↵
|
46 | {↵ | | 40 | public void testCscResources() throws Exception {↵
|
47 | executeTarget("xmlcatalogpath-override");↵ | | 41 | executeTarget("testCSCResources");↵
|
48 | }↵ | | 42 | }↵
|
|
49 | /**↵ | | 43 | /**↵
|
50 | * Test nested xmlcatalog definitions↵ | | 44 | * test we can assemble↵
|
51 | */↵ | | 45 | */↵
|
52 | public void testXmlCatalogNested() {↵ | | 46 | public void testILASM() throws Exception {↵
|
53 | executeTarget("xmlcatalognested");↵ | | 47 | executeTarget("testILASM");↵
|
54 | } | | 48 | }
|