Package org.apache.batik.test.svg
Class SVGRenderingAccuracyTestValidator.InvalidSVGURL
java.lang.Object
org.apache.batik.test.AbstractTest
org.apache.batik.test.TestReportValidator
org.apache.batik.test.svg.SVGRenderingAccuracyTestValidator.InvalidSVGURL
- All Implemented Interfaces:
Test
- Enclosing class:
SVGRenderingAccuracyTestValidator
Creates an
SVGRenderingAccuracyTest
with an
invalid URL for the source SVG. 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 -
Method Summary
Modifier and TypeMethodDescriptionrunImpl()
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
-
Constructor Details
-
InvalidSVGURL
InvalidSVGURL()
-
-
Method Details
-
runImpl
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:
Exception
-