public abstract class AbstractXmlValidatorTest extends AbstractXmlValidator
EOL
Constructor and Description |
---|
AbstractXmlValidatorTest() |
Modifier and Type | Method and Description |
---|---|
protected static Map<String,String> |
getAllTestDocuments()
Find test resources in the
doxia-test-docs-XXX.jar or in an IDE project. |
protected EntityResolver |
getEntityResolver()
Returns the EntityResolver that is used by the XMLReader for validation.
|
protected abstract String[] |
getIncludes() |
protected Map<String,String> |
getTestDocuments() |
addNamespaces, isFailErrorMessage, isValidate, setValidate, tearDown, testValidateFiles
customizeComponentConfiguration, customizeContainerConfiguration, customizeContext, getBasedir, getClassLoader, getConfiguration, getConfiguration, getConfigurationName, getContainer, getCustomConfigurationName, getResourceAsStream, getTestConfiguration, getTestConfiguration, getTestFile, getTestFile, getTestPath, getTestPath, lookup, lookup, lookup, lookup, release, setUp, setupContainer
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, runTest, setName, toString
public AbstractXmlValidatorTest()
protected abstract String[] getIncludes()
getTestDocuments()
protected Map<String,String> getTestDocuments() throws IOException
getTestDocuments
in class AbstractXmlValidator
getIncludes()
.IOException
- if anygetIncludes()
,
getAllTestDocuments()
protected EntityResolver getEntityResolver()
AbstractXmlParser.CachedFileEntityResolver
is used,
but implementations should override this for performance reasons.getEntityResolver
in class AbstractXmlValidator
protected static Map<String,String> getAllTestDocuments() throws IOException
doxia-test-docs-XXX.jar
or in an IDE project.jar:file:/.../doxia-test-docs-XXX.jar!/path/to/resource
IOException
- if anyCopyright © 2005–2021 The Apache Software Foundation. All rights reserved.