Class SamplesRenderingTest
java.lang.Object
org.apache.batik.test.AbstractTest
org.apache.batik.test.svg.AbstractRenderingAccuracyTest
org.apache.batik.test.svg.SVGRenderingAccuracyTest
org.apache.batik.test.svg.PreconfiguredRenderingTest
org.apache.batik.test.svg.SamplesRenderingTest
- All Implemented Interfaces:
Test
- Direct Known Subclasses:
JSVGRenderingAccuracyTest, ParametrizedRenderingAccuracyTest
Preconfigured test for SVG files under the xml-batik directory.
- Version:
- $Id$
-
Nested Class Summary
Nested classes/interfaces inherited from class SVGRenderingAccuracyTest
SVGRenderingAccuracyTest.InternalPNGTranscoder -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringFields inherited from class PreconfiguredRenderingTest
DEFAULT_VARIATION_PLATFORMS, PATH_SEPARATOR, PNG_EXTENSION, SVG_EXTENSION, SVGZ_EXTENSIONFields inherited from class SVGRenderingAccuracyTest
ERROR_CANNOT_TRANSCODE_SVG, userLanguage, validate, VALIDATING_PARSERFields inherited from class AbstractRenderingAccuracyTest
candidateReference, configuration, CONFIGURATION_RESOURCES, COULD_NOT_GENERATE_COMPARISON_IMAGES, COULD_NOT_LOAD_IMAGE, COULD_NOT_OPEN_VARIATION_URL, ENTRY_KEY_DIFFERENCE_IMAGE, ENTRY_KEY_ERROR_DESCRIPTION, ENTRY_KEY_INTERNAL_ERROR, ENTRY_KEY_REFERENCE_GENERATED_IMAGE_URI, ERROR_CANNOT_CREATE_TEMP_FILE, ERROR_CANNOT_CREATE_TEMP_FILE_STREAM, ERROR_CANNOT_OPEN_GENERATED_IMAGE, ERROR_CANNOT_OPEN_REFERENCE_IMAGE, ERROR_ERROR_WHILE_COMPARING_FILES, ERROR_SVG_RENDERING_NOT_ACCURATE, IMAGE_FILE_EXTENSION, IMAGE_TYPE_COMPARISON, IMAGE_TYPE_DIFF, refImgURL, saveVariation, svgURL, TEMP_FILE_PREFIX, TEMP_FILE_SUFFIX, tempDirectory, variationURLsFields inherited from class AbstractTest
id, name, parent -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class PreconfiguredRenderingTest
breakSVGFile, buildCandidateReferenceFile, buildRefImgURL, buildSaveVariationFile, buildSVGURL, buildVariationURLs, getName, setFile, setIdMethods inherited from class SVGRenderingAccuracyTest
encode, getTestImageTranscoder, getUserLanguage, getValidating, manipulateSVGDocument, setUserLanguage, setValidatingMethods inherited from class AbstractRenderingAccuracyTest
addVariationURL, buildDiffImage, compare, getCandidateReference, getImage, getImage, getNextTempFileName, getNextTempFileName, getSaveVariation, getTempDirectory, getURLFile, getVariationURLs, imageToFile, makeCompareImage, makeRandomFileName, makeTempFileName, resolveURL, run, saveImage, saveImage, setCandidateReference, setConfig, setSaveVariationMethods inherited from class AbstractTest
assertEquals, assertEquals, assertNull, assertTrue, error, getId, getParent, getQualifiedId, reportError, reportException, reportSuccess, runImpl, runImplBasic, setName, setParent
-
Field Details
-
SVG_URL_PREFIX
- See Also:
-
REF_IMAGE_PREFIX
- See Also:
-
REF_IMAGE_SUFFIX
- See Also:
-
VARIATION_PREFIX
- See Also:
-
VARIATION_SUFFIX
- See Also:
-
SAVE_VARIATION_PREFIX
- See Also:
-
SAVE_VARIATION_SUFFIX
- See Also:
-
SAVE_CANDIDATE_REFERENCE_PREFIX
- See Also:
-
SAVE_CANDIDATE_REFERENCE_SUFFIX
- See Also:
-
-
Constructor Details
-
SamplesRenderingTest
public SamplesRenderingTest()
-
-
Method Details
-
getSVGURLPrefix
- Specified by:
getSVGURLPrefixin classPreconfiguredRenderingTest
-
getRefImagePrefix
- Specified by:
getRefImagePrefixin classPreconfiguredRenderingTest
-
getRefImageSuffix
- Specified by:
getRefImageSuffixin classPreconfiguredRenderingTest
-
getVariationPrefix
- Specified by:
getVariationPrefixin classPreconfiguredRenderingTest
-
getVariationSuffix
- Specified by:
getVariationSuffixin classPreconfiguredRenderingTest
-
getVariationPlatforms
- Specified by:
getVariationPlatformsin classPreconfiguredRenderingTest
-
getSaveVariationPrefix
- Specified by:
getSaveVariationPrefixin classPreconfiguredRenderingTest
-
getSaveVariationSuffix
- Specified by:
getSaveVariationSuffixin classPreconfiguredRenderingTest
-
getCandidateReferencePrefix
- Specified by:
getCandidateReferencePrefixin classPreconfiguredRenderingTest
-
getCandidateReferenceSuffix
- Specified by:
getCandidateReferenceSuffixin classPreconfiguredRenderingTest
-