1 | void testCatchNoDtd() throws Exception {↵ | | 1 | void testNolanguage() {↵
|
2 | expectBuildExceptionContaining("testCatchNoDtd",↵ | | 2 | expectBuildExceptionContaining("testNolanguage",↵
|
3 | "expected failure",↵ | | 3 | ↵
|
4 | "Fatal error during transformation");↵ | | |
|
5 | }↵ | | |
|
|
6 | /**↵ | | |
|
7 | * A unit test for JUnit↵ | | |
|
8 | */↵ | | |
|
9 | public void testCatalog() throws Exception↵ | | 4 | "Absence of language attribute not detected",↵
|
| | | 5 | "script language must be specified");↵
|
| | | 6 | }↵
|
|
10 | {↵ | | 7 | public void testMacro() {↵
|
11 | executeTarget("testCatalog");↵ | | 8 | executeTarget("testMacro");↵
|
12 | }↵ | | 9 | }↵
|
|
13 | public void testOutputProperty() throws Exception {↵ | | 10 | public void testClearByDefault() {↵
|
14 | executeTarget("testOutputProperty");↵ | | 11 | executeTarget("testClearByDefault");↵
|
15 | }↵ | | 12 | }↵
|
|
16 | public void testFactory() throws Exception {↵ | | 13 | public void testValueWorks() {↵
|
17 | executeTarget("testFactory");↵ | | 14 | executeTarget("testValueWorks");↵
|
18 | }↵ | | 15 | }↵
|
|
19 | public void testAttribute() throws Exception {↵ | | 16 | public void testSetWorks() {↵
|
20 | executeTarget("testAttribute");↵ | | 17 | executeTarget("testSetWorks");↵
|
21 | }↵ | | 18 | }↵
|
|
22 | public void testXMLWithEntitiesInNonAsciiPath() throws Exception {↵ | | 19 | public void testClearWorks() {↵
|
23 | executeTarget("testXMLWithEntitiesInNonAsciiPath");↵ | | 20 | executeTarget("testClearWorks");↵
|
24 | | | 21 |
|