| Home >> All >> org >> apache >> batik >> test >> [ svg Javadoc ] |
org.apache.batik.test.svg: Javadoc index of package org.apache.batik.test.svg.
Package Samples:
org.apache.batik.test.svg
Classes:
SelfContainedSVGOnLoadTest: This test takes an SVG file as an input. It processes the input SVG (meaning it turns it into a GVT tree) and then dispatches the 'onload' event. The SVG input file should contain script that will position the result of the test in the DOM using the following namespace: xmlns:test="http://xml.apache.org/batik/test" The result should be set in the result attribute of the <testResult> element by the script embeded in the input SVG test file. Sample input SVG file: <svg ... onload="runTest(evt)" xmlns:test="http://xml.apache.org/batik/test" > <script type="text/ecmascript"> function ...
SVGOnLoadExceptionTest: This test takes an SVG file as an input. It processes the input SVG (meaning it turns it into a GVT tree) and then dispatches the 'onload' event. In that process, the test checks for the occurence of a specific exception type and, for BridgeExceptions, for a given error code. If an exception of the given type (and, optionally, code) happens, then the test passes. If an exception of an unexpected type (or code, for BridgeExceptions) happens, or if no exception happens, the test fails. The following properties control the test's operation: - Scripts: list of allowed script types (e.g., "application/java-archive") ...
SelfContainedSVGOnLoadTestValidator: This test validates the operation of SelfContainedSVGOnLoadTest. It is a test agregation which points to several tests which correspond to expected error conditions. The test simply validates that the expected error conditions are properly detected and reported.
SVGRenderingAccuracyTest: Checks for regressions in rendering a specific SVG document. The Test will rasterize and SVG document and compare it to a reference image. The test passes if the rasterized SVG and the reference image match exactly (i.e., all pixel values are the same).
AbstractRenderingAccuracyTest: Checks for regressions in rendering a specific SVG document. The Test will rasterize and SVG document and compare it to a reference image. The test passes if the rasterized SVG and the reference image match exactly (i.e., all pixel values are the same).
SVGAccuracyTestProcessor: This implementation of the TestReportProcessor interface converts the TestReports it processes into an XML document that it outputs in a directory. The directory used by the object can be configured at creation time.
SVGRenderingAccuracyTestValidator: Validates the operation of SVGRenderingAccuracyTest by forcing specific test case situations and checking that they are handled properly by the class.
PreconfiguredRenderingTest: Convenience class for creating a SVGRenderingAccuracyTest with predefined rules for the various configuration parameters.
SVGTextContentRenderingAccuracyTest: Checks for regressions in rendering of a document with a given alternate stylesheet.
SVGReferenceRenderingAccuracyTest: Base class for tests which take an additional parameter in addition to the SVG file.
SVGAlternateStyleSheetRenderingAccuracyTest: Checks for regressions in rendering of a document with a given alternate stylesheet.
ParametrizedRenderingAccuracyTest: Base class for tests which take an additional parameter in addition to the SVG file.
BERenderingTest: Preconfigured test for SVG files under the xml-batik/../beSuite directory.
SVGMediaRenderingAccuracyTest: Checks for regressions in rendering of a document with a given media.
SamplesRenderingTest: Preconfigured test for SVG files under the xml-batik directory.
Messages: This class manages the message for the test.svg module.
JSVGRenderingAccuracyTest: One line Class Desc Complete Class Desc
| Home | Contact Us | Privacy Policy | Terms of Service |