Package org.apache.batik.test.svg
Class SelfContainedSVGOnLoadTestValidator.DefaultErrorTest
java.lang.Object
org.apache.batik.test.AbstractTest
org.apache.batik.test.svg.SelfContainedSVGOnLoadTestValidator.DefaultErrorTest
- All Implemented Interfaces:
Test
- Direct Known Subclasses:
SelfContainedSVGOnLoadTestValidator.CannotLoadSVGDocument
,SelfContainedSVGOnLoadTestValidator.InvalidTestResultElementsNumber
,SelfContainedSVGOnLoadTestValidator.MissingOrEmptyErrorCode
,SelfContainedSVGOnLoadTestValidator.ProcessingError
,SelfContainedSVGOnLoadTestValidator.ReportError
,SelfContainedSVGOnLoadTestValidator.ReportErrorAndEntries
,SelfContainedSVGOnLoadTestValidator.UnexpectedResultValue
- Enclosing class:
- SelfContainedSVGOnLoadTestValidator
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) String[]
(package private) String
(package private) String
Fields inherited from class org.apache.batik.test.AbstractTest
id, name, parent
-
Constructor Summary
ConstructorsConstructorDescriptionDefaultErrorTest
(String svgURL, String expectedErrorCode, String[] expectedEntryCodes) -
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.AbstractTest
assertEquals, assertEquals, assertNull, assertTrue, error, getId, getName, getParent, getQualifiedId, reportError, reportException, reportSuccess, run, runImplBasic, setId, setName, setParent
-
Field Details
-
Constructor Details
-
DefaultErrorTest
-
-
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 classAbstractTest
- Throws:
Exception
-