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 Details

    • svgURL

      String svgURL
    • expectedErrorCode

      String expectedErrorCode
    • expectedEntryCodes

      String[] expectedEntryCodes
  • Constructor Details

    • DefaultErrorTest

      public DefaultErrorTest(String svgURL, String expectedErrorCode, String[] expectedEntryCodes)
  • Method Details

    • runImpl

      public TestReport runImpl() throws 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 class AbstractTest
      Throws:
      Exception