| org.apache.tools.ant.BuildFileTest org.apache.tools.ant.taskdefs.optional.XmlValidateTest
XmlValidateTest | public class XmlValidateTest extends BuildFileTest (Code) | | Tests the XMLValidate optional task, by running targets in the test script
src/etc/testcases/taskdefs/optional/xmlvalidate.xml
See Also: XmlValidateCatalogTest since: Ant 1.5 |
XmlValidateTest | public XmlValidateTest(String name)(Code) | | Constructor
Parameters: name - testname |
setUp | public void setUp()(Code) | | The JUnit setup method
|
tearDown | public void tearDown()(Code) | | The teardown method for JUnit
|
testDeepValidate | public void testDeepValidate() throws Exception(Code) | | Test indirect validation.
|
testIso2022Jp | public void testIso2022Jp()(Code) | | iso-2022-jp.xml is valid but wouldn't get recognized on systems
with a different native encoding.
Bug 11279
|
testPropertySchemaForInvalidXML | public void testPropertySchemaForInvalidXML()(Code) | | |
testPropertySchemaForValidXML | public void testPropertySchemaForValidXML()(Code) | | |
testUtf8 | public void testUtf8()(Code) | | utf-8.xml is invalid as it contains non-UTF-8 characters, but
would pass on systems with a native iso-8859-1 (or similar)
encoding.
Bug 11279
|
testValidate | public void testValidate() throws Exception(Code) | | Basic inline 'dtd' element test.
|
testXmlCatalog | public void testXmlCatalog()(Code) | | |
testXmlCatalogFiles | public void testXmlCatalogFiles()(Code) | | Test that the nested dtd element is used when resolver.jar is not
present. This test should pass either way.
|
testXmlCatalogNested | public void testXmlCatalogNested()(Code) | | Test nested xmlcatalog definitions
|
testXmlCatalogPath | public void testXmlCatalogPath()(Code) | | Test nested catalogpath.
Test that the nested dtd element is used when resolver.jar is not
present. This test should pass either way.
|
testXmlCatalogViaRefid | public void testXmlCatalogViaRefid()(Code) | | |
testXmlSchemaBad | public void testXmlSchemaBad()(Code) | | Test xml schema validation
|
testXmlSchemaGood | public void testXmlSchemaGood() throws BuildException(Code) | | Test xml schema validation
|
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)
|
|
|