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