Package org.apache.batik.test.svg
Class SVGRenderingAccuracyTestValidator.InvalidSVGContent
- java.lang.Object
-
- org.apache.batik.test.AbstractTest
-
- org.apache.batik.test.TestReportValidator
-
- org.apache.batik.test.svg.SVGRenderingAccuracyTestValidator.InvalidSVGContent
-
- All Implemented Interfaces:
Test
- Enclosing class:
- SVGRenderingAccuracyTestValidator
static class SVGRenderingAccuracyTestValidator.InvalidSVGContent extends TestReportValidator
Creates anSVGRenderingAccuracyTest
with a valid URL pointing to an invalid SVG document. Checks that this error is reported as a failure.
-
-
Field Summary
-
Fields inherited from class org.apache.batik.test.TestReportValidator
ENTRY_KEY_EXPECTED_ERROR_CODE, ENTRY_KEY_EXPECTED_STATUS, ENTRY_KEY_RECEIVED_ERROR_CODE, ENTRY_KEY_RECEIVED_STATUS
-
Fields inherited from class org.apache.batik.test.AbstractTest
id, name, parent
-
-
Constructor Summary
Constructors Constructor Description InvalidSVGContent()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TestReport
runImpl()
Subclasses should implement this method with the content of the test case.-
Methods inherited from class org.apache.batik.test.TestReportValidator
setConfig
-
Methods inherited from class org.apache.batik.test.AbstractTest
assertEquals, assertEquals, assertNull, assertTrue, error, getId, getName, getParent, getQualifiedId, reportError, reportException, reportSuccess, run, runImplBasic, setId, setName, setParent
-
-
-
-
Method Detail
-
runImpl
public TestReport runImpl() throws java.lang.Exception
Description copied from class:AbstractTest
Subclasses should implement this method with the content of the test case. Typically, implementations will choose to catch and process all exceptions and error conditions they are looking for in the code they exercise but will let exceptions due to their own processing propagate.- Overrides:
runImpl
in classTestReportValidator
- Throws:
java.lang.Exception
-
-