Package | Description |
---|---|
org.apache.batik.swing | |
org.apache.batik.test | |
org.apache.batik.test.svg | |
org.apache.batik.test.xml |
Modifier and Type | Field and Description |
---|---|
(package private) Test |
JSVGCanvasHandler.host |
Constructor and Description |
---|
JSVGCanvasHandler(Test host,
JSVGCanvasHandler.Delegate delegate) |
Modifier and Type | Interface and Description |
---|---|
interface |
TestSuite
A
TestSuite is a composite test, that is, a test
made of multiple children Test cases. |
Modifier and Type | Class and Description |
---|---|
class |
AbstractTest
Base class containing convenience methods for writing tests.
|
class |
AbstractTestSuite
This class provides an implementation for the
addTest
method and a protected member to store the children Test
instances. |
class |
DefaultTestSuite
Default implementation of the
TestSuite interface. |
class |
OnePerformanceTest |
class |
ParametrizedTest
This test validates that test properties are inherited from the class that
defines the "class" attribute down to each test instance that uses the
same class.
|
class |
PerformanceTest
This abstract
Test implementation instruments performance
testing. |
class |
PerformanceTestValidator
Validates the operation of the
PerformanceTest class. |
(package private) static class |
PerformanceTestValidator.SimplePerformanceTest |
class |
TestReportValidator
This
Test implementation can be used to validate the
operation of a specific test. |
Modifier and Type | Field and Description |
---|---|
private Test |
TestReportValidator.test
Test that this validator checks
|
protected Test |
DefaultTestReport.test |
Modifier and Type | Method and Description |
---|---|
Test |
TestFilter.filter(Test t)
The filter will return null or the input
Test . |
Test[] |
TestSuite.getChildrenTests()
Returns this suite's
Test . |
Test[] |
DefaultTestSuite.getChildrenTests() |
Test |
TestReport.getTest()
Returns the
Test object that generated this
TestReport |
Test |
DefaultTestSuiteReport.getTest() |
Test |
DefaultTestReport.getTest() |
Modifier and Type | Method and Description |
---|---|
void |
TestSuite.addTest(Test test)
Adds a
Test to the suite |
void |
DefaultTestSuite.addTest(Test test)
Adds a
Test to the suite |
void |
AbstractTestSuite.addTest(Test test)
Adds a
Test to the suite |
Test |
TestFilter.filter(Test t)
The filter will return null or the input
Test . |
TestReport |
TestErrorConditionException.getTestReport(Test test)
Requests a report which describes the exception.
|
TestReport |
AssertException.getTestReport(Test test)
TestErrorConditionException implementation. |
void |
TestSuite.removeTest(Test test)
Removes a
Test from the suite |
void |
DefaultTestSuite.removeTest(Test test)
Removes a
Test from the suite. |
protected void |
TestReportValidator.setConfig(Test test,
boolean expectedStatus,
java.lang.String expectedErrorCode)
Lets derived classes set the configuration parameters
for this test.
|
Constructor and Description |
---|
DefaultTestReport(Test test) |
TestReportValidator(Test test,
boolean expectedStatus,
java.lang.String expectedErrorCode)
Constructor
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractRenderingAccuracyTest
Checks for regressions in rendering a specific SVG document.
|
class |
BERenderingTest
Preconfigured test for SVG files under the xml-batik/../beSuite
directory.
|
class |
ImageCompareTest
This test does a pixel comparison of two images and passes if the
two images are identical.
|
class |
JSVGRenderingAccuracyTest
One line Class Desc
Complete Class Desc
|
class |
ParametrizedRenderingAccuracyTest
Base class for tests which take an additional parameter in addition
to the SVG file.
|
class |
PreconfiguredRenderingTest
Convenience class for creating a SVGRenderingAccuracyTest with predefined
rules for the various configuration parameters.
|
class |
SamplesRenderingTest
Preconfigured test for SVG files under the xml-batik directory.
|
class |
SelfContainedSVGOnLoadTest
This test takes an SVG file as an input.
|
class |
SelfContainedSVGOnLoadTestValidator
This test validates the operation of SelfContainedSVGOnLoadTest.
|
(package private) static class |
SelfContainedSVGOnLoadTestValidator.CannotLoadSVGDocument |
(package private) static class |
SelfContainedSVGOnLoadTestValidator.DefaultErrorTest |
(package private) static class |
SelfContainedSVGOnLoadTestValidator.InvalidTestResultElementsNumber |
(package private) static class |
SelfContainedSVGOnLoadTestValidator.MissingOrEmptyErrorCode |
(package private) static class |
SelfContainedSVGOnLoadTestValidator.ProcessingError |
(package private) static class |
SelfContainedSVGOnLoadTestValidator.ReportError |
(package private) static class |
SelfContainedSVGOnLoadTestValidator.ReportErrorAndEntries |
(package private) static class |
SelfContainedSVGOnLoadTestValidator.ReportSuccess |
(package private) static class |
SelfContainedSVGOnLoadTestValidator.UnexpectedResultValue |
class |
SVGAlternateStyleSheetRenderingAccuracyTest
Checks for regressions in rendering of a document with a given
alternate stylesheet.
|
class |
SVGMediaRenderingAccuracyTest
Checks for regressions in rendering of a document with a given
media.
|
class |
SVGOnLoadExceptionTest
This test takes an SVG file as an input.
|
class |
SVGReferenceRenderingAccuracyTest
Base class for tests which take an additional parameter in addition
to the SVG file.
|
class |
SVGRenderingAccuracyTest
Checks for regressions in rendering a specific SVG document.
|
class |
SVGRenderingAccuracyTestValidator
Validates the operation of
SVGRenderingAccuracyTest
by forcing specific test case situations and checking that
they are handled properly by the class. |
(package private) static class |
SVGRenderingAccuracyTestValidator.AccurateRendering |
(package private) static class |
SVGRenderingAccuracyTestValidator.AccurateRenderingWithVariation
Validates that test passes if proper variation is given
|
(package private) static class |
SVGRenderingAccuracyTestValidator.DefaultConfigTest
Validates that the default parameters computation is
working as expected.
|
(package private) static class |
SVGRenderingAccuracyTestValidator.DifferentSizes |
(package private) static class |
SVGRenderingAccuracyTestValidator.InexistingReferenceImage
Creates an
SVGRenderingAccuracyTest with an
valid URL for the source SVG valid
URL for the reference image, but the reference image,
but the reference image does not exist |
(package private) static class |
SVGRenderingAccuracyTestValidator.InvalidReferenceImageURL
Creates an
SVGRenderingAccuracyTest with an
valid URL for the source SVG but with an invalid
URL for the reference image. |
(package private) static class |
SVGRenderingAccuracyTestValidator.InvalidSVGContent
Creates an
SVGRenderingAccuracyTest with a
valid URL pointing to an invalid SVG document. |
(package private) static class |
SVGRenderingAccuracyTestValidator.InvalidSVGURL
Creates an
SVGRenderingAccuracyTest with an
invalid URL for the source SVG. |
(package private) static class |
SVGRenderingAccuracyTestValidator.SameSizeDifferentContent |
class |
SVGTextContentRenderingAccuracyTest
Checks for regressions in rendering of a document with a given
alternate stylesheet.
|
Modifier and Type | Class and Description |
---|---|
class |
DummyValidTest
Dummy Test which always passes.
|
class |
DummyValidTestSuite
Dummy TestSuite which always passes.
|
class |
XMLTestSuiteRunnerValidator
Validates the operation of the
XMLTestSuireRunner by checking
that it runs the tests specified by the command line parameter and
only these tests. |
(package private) static class |
XMLTestSuiteRunnerValidator.XMLTestSuiteRunnerTest |
Modifier and Type | Method and Description |
---|---|
protected static Test |
XMLTestSuiteLoader.buildTest(org.w3c.dom.Element element) |
Test |
XMLTestSuiteRunner.AcceptAllTestsFilter.filter(Test t) |
Test |
XMLTestSuiteRunner.IdBasedTestFilter.filter(Test t)
Accept a test if one of the ids is found (i.e., an
exact match or a substring) in the
Test 's
qualified id. |
Modifier and Type | Method and Description |
---|---|
Test |
XMLTestSuiteRunner.AcceptAllTestsFilter.filter(Test t) |
Test |
XMLTestSuiteRunner.IdBasedTestFilter.filter(Test t)
Accept a test if one of the ids is found (i.e., an
exact match or a substring) in the
Test 's
qualified id. |
protected TestReport |
XMLTestSuiteRunner.runTest(Test test) |