Package org.apache.batik.test.svg
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: SamplesRenderingTest.java 1733416 2016-03-03 07:07:13Z gadams $
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.batik.test.svg.SVGRenderingAccuracyTest
SVGRenderingAccuracyTest.InternalPNGTranscoder
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
Fields inherited from class org.apache.batik.test.svg.PreconfiguredRenderingTest
DEFAULT_VARIATION_PLATFORMS, PATH_SEPARATOR, PNG_EXTENSION, SVG_EXTENSION, SVGZ_EXTENSION
Fields inherited from class org.apache.batik.test.svg.SVGRenderingAccuracyTest
ERROR_CANNOT_TRANSCODE_SVG, userLanguage, validate, VALIDATING_PARSER
Fields inherited from class org.apache.batik.test.svg.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, variationURLs
Fields inherited from class org.apache.batik.test.AbstractTest
id, name, parent
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.batik.test.svg.PreconfiguredRenderingTest
breakSVGFile, buildCandidateReferenceFile, buildRefImgURL, buildSaveVariationFile, buildSVGURL, buildVariationURLs, getName, setFile, setId
Methods inherited from class org.apache.batik.test.svg.SVGRenderingAccuracyTest
encode, getTestImageTranscoder, getUserLanguage, getValidating, manipulateSVGDocument, setUserLanguage, setValidating
Methods inherited from class org.apache.batik.test.svg.AbstractRenderingAccuracyTest
addVariationURL, buildDiffImage, compare, getCandidateReference, getImage, getImage, getNextTempFileName, getNextTempFileName, getSaveVariation, getTempDirectory, getURLFile, getVariationURLs, imageToFile, makeCompareImage, makeRandomFileName, makeTempFileName, resolveURL, run, saveImage, saveImage, setCandidateReference, setConfig, setSaveVariation
Methods inherited from class org.apache.batik.test.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:
getSVGURLPrefix
in classPreconfiguredRenderingTest
-
getRefImagePrefix
- Specified by:
getRefImagePrefix
in classPreconfiguredRenderingTest
-
getRefImageSuffix
- Specified by:
getRefImageSuffix
in classPreconfiguredRenderingTest
-
getVariationPrefix
- Specified by:
getVariationPrefix
in classPreconfiguredRenderingTest
-
getVariationSuffix
- Specified by:
getVariationSuffix
in classPreconfiguredRenderingTest
-
getVariationPlatforms
- Specified by:
getVariationPlatforms
in classPreconfiguredRenderingTest
-
getSaveVariationPrefix
- Specified by:
getSaveVariationPrefix
in classPreconfiguredRenderingTest
-
getSaveVariationSuffix
- Specified by:
getSaveVariationSuffix
in classPreconfiguredRenderingTest
-
getCandidateReferencePrefix
- Specified by:
getCandidateReferencePrefix
in classPreconfiguredRenderingTest
-
getCandidateReferenceSuffix
- Specified by:
getCandidateReferenceSuffix
in classPreconfiguredRenderingTest
-