| org.apache.tools.ant.BuildFileTest org.apache.tools.ant.taskdefs.optional.JspcTest
JspcTest | public JspcTest(String name)(Code) | | Constructor for the JspcTest object
Parameters: name - Description of Parameter |
assertJavaFileCreated | protected void assertJavaFileCreated(String filename) throws Exception(Code) | | verify that a named file was created
Parameters: filename - Description of Parameter exception: Exception - trouble |
assertMapped | protected void assertMapped(JspMangler mangler, String filename, String classname)(Code) | | assert our mapping rules
Parameters: mangler - Parameters: filename - Parameters: classname - |
executeJspCompile | protected void executeJspCompile(String target, String javafile) throws Exception(Code) | | run a target then verify the named file gets created
Parameters: target - Description of Parameter Parameters: javafile - Description of Parameter exception: Exception - trouble |
getOutputFile | protected File getOutputFile(String subpath)(Code) | | Gets the OutputFile attribute of the JspcTest object
Parameters: subpath - Description of Parameter The OutputFile value |
setUp | public void setUp()(Code) | | The JUnit setup method
|
tearDown | public void tearDown()(Code) | | The teardown method for JUnit
|
testInvalidClassname | public void testInvalidClassname() throws Exception(Code) | | what happens to 1nvalid-classname
|
testJasper41 | public void testJasper41()(Code) | | |
testJasperNameManglerSelection | public void testJasperNameManglerSelection()(Code) | | verify that we select the appropriate mangler
|
testKeyword | public void testKeyword() throws Exception(Code) | | try a keyword in a file
|
testNoTld | public void testNoTld() throws Exception(Code) | | A unit test for JUnit
|
testNotAJspFile | public void testNotAJspFile() throws Exception(Code) | | A unit test for JUnit
|
testSimple | public void testSimple() throws Exception(Code) | | A unit test for JUnit
|
testUriroot | public void testUriroot() throws Exception(Code) | | A unit test for JUnit
|
Methods inherited from org.apache.tools.ant.BuildFileTest | public void assertDebuglogContaining(String substring)(Code)(Java Doc) public void assertLogContaining(String substring)(Code)(Java Doc) public void assertOutputContaining(String substring)(Code)(Java Doc) public void assertPropertyEquals(String property, String value)(Code)(Java Doc) public void assertPropertySet(String property)(Code)(Java Doc) public void assertPropertyUnset(String property)(Code)(Java Doc) public void configureProject(String filename) throws BuildException(Code)(Java Doc) public void configureProject(String filename, int logLevel) throws BuildException(Code)(Java Doc) public void executeTarget(String targetName)(Code)(Java Doc) public void expectBuildException(String target, String cause)(Code)(Java Doc) public void expectBuildExceptionContaining(String target, String cause, String contains)(Code)(Java Doc) public void expectDebuglog(String target, String log)(Code)(Java Doc) public void expectLog(String target, String log)(Code)(Java Doc) public void expectLogContaining(String target, String log)(Code)(Java Doc) public void expectOutput(String target, String output)(Code)(Java Doc) public void expectOutputAndError(String target, String output, String error)(Code)(Java Doc) public void expectPropertySet(String target, String property, String value)(Code)(Java Doc) public void expectPropertySet(String target, String property)(Code)(Java Doc) public void expectPropertyUnset(String target, String property)(Code)(Java Doc) public void expectSpecificBuildException(String target, String cause, String msg)(Code)(Java Doc) public BuildException getBuildException()(Code)(Java Doc) public String getError()(Code)(Java Doc) public String getFullLog()(Code)(Java Doc) public String getLog()(Code)(Java Doc) public String getOutput()(Code)(Java Doc) public Project getProject()(Code)(Java Doc) public File getProjectDir()(Code)(Java Doc) public URL getResource(String resource)(Code)(Java Doc) protected void tearDown() throws Exception(Code)(Java Doc)
|
|
|