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, tearDown, testValidateFiles
customizeContext, getBasedir, getClassLoader, getConfiguration, getConfiguration, getConfigurationName, getContainer, getCustomConfigurationName, getResourceAsStream, getTestConfiguration, getTestConfiguration, getTestFile, getTestFile, getTestPath, getTestPath, lookup, lookup, lookup, lookup, release, setUp
countTestCases, createResult, getName, run, run, runBare, runTest, setName, toString
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, fail, fail, failNotEquals, failNotSame, failSame, format
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-2013 The Apache Software Foundation. All Rights Reserved.