1 | void testSrcDirTest() {↵ | | 1 | void testInvalidClassname() throws Exception {↵
|
2 | expectBuildException("srcDirTest", "Src cannot be a directory.");↵ | | 2 | executeJspCompile("testInvalidClassname",↵
|
| | | 3 | "_1nvalid_0002dclassname_jsp.java");↵
|
| | | 4 | }↵
|
|
|
| | | 5 | /**↵
|
| | | 6 | * A unit test for JUnit↵
|
3 | }↵ | | 7 | ↵
|
| | | 8 | */↵
|
4 | public void testEncoding() {↵ | | 9 | public void test↵
|
| | | 10 | NoTld() throws Exception {↵
|
5 | expectSpecificBuildException("encoding",↵ | | 11 | // expectBuildExceptionContaining("testNoTld",↵
|
6 | "<untar> overrides setEncoding.↵ | | 12 | // "Jasper found an error in a file",↵
|
| | | 13 | // "Java returned: 9");↵
|
7 | ",↵ | | 14 | expectBuildExceptionContaining("testNoTld",↵
|
8 | ↵ | | 15 | "not found",↵
|
9 | "The untar task doesn't support the "↵ | | 16 | "↵
|
10 | + "encoding attribute");↵ | | 17 | Java returned: 9");↵
|
| | | 18 | }↵
|
|
|
| | | 19 | /**↵
|
| | | 20 | * A unit test for JUnit↵
|
11 | }↵ | | 21 | ↵
|
| | | 22 | */↵
|
12 | public void testResourceCollection() throws java.io.IOException {↵ | | 23 | public void testNotAJspFile() throws Exception {↵
|
13 | testLogoExtraction("resourceCollection");↵ | | 24 | executeTarget("testNotAJspFile");↵
|
14 | | | 25 |
|