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
static class SelfContainedSVGOnLoadTestValidator.DefaultErrorTest extends AbstractTest
-
-
Field Summary
Fields Modifier and Type Field Description (package private) java.lang.String[]
expectedEntryCodes
(package private) java.lang.String
expectedErrorCode
(package private) java.lang.String
svgURL
-
Fields inherited from class org.apache.batik.test.AbstractTest
id, name, parent
-
-
Constructor Summary
Constructors Constructor Description DefaultErrorTest(java.lang.String svgURL, java.lang.String expectedErrorCode, java.lang.String[] expectedEntryCodes)
-
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.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 classAbstractTest
- Throws:
java.lang.Exception
-
-