Package org.apache.batik.test.svg
Class BERenderingTest
- java.lang.Object
-
- All Implemented Interfaces:
Test
public class BERenderingTest extends PreconfiguredRenderingTest
Preconfigured test for SVG files under the xml-batik/../beSuite directory.- Version:
- $Id: BERenderingTest.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
Fields Modifier and Type Field Description static java.lang.String
REF_IMAGE_PREFIX
static java.lang.String
REF_IMAGE_SUFFIX
static java.lang.String
SAVE_CANDIDATE_REFERENCE_PREFIX
static java.lang.String
SAVE_CANDIDATE_REFERENCE_SUFFIX
static java.lang.String
SAVE_VARIATION_PREFIX
static java.lang.String
SAVE_VARIATION_SUFFIX
static java.lang.String
SVG_URL_PREFIX
static java.lang.String
VARIATION_PREFIX
static java.lang.String
VARIATION_SUFFIX
-
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 Constructor Description BERenderingTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.String
getCandidateReferencePrefix()
protected java.lang.String
getCandidateReferenceSuffix()
protected java.lang.String
getRefImagePrefix()
protected java.lang.String
getRefImageSuffix()
protected java.lang.String
getSaveVariationPrefix()
protected java.lang.String
getSaveVariationSuffix()
protected java.lang.String
getSVGURLPrefix()
protected java.lang.String[]
getVariationPlatforms()
protected java.lang.String
getVariationPrefix()
protected java.lang.String
getVariationSuffix()
-
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 Detail
-
SVG_URL_PREFIX
public static final java.lang.String SVG_URL_PREFIX
- See Also:
- Constant Field Values
-
REF_IMAGE_PREFIX
public static final java.lang.String REF_IMAGE_PREFIX
- See Also:
- Constant Field Values
-
REF_IMAGE_SUFFIX
public static final java.lang.String REF_IMAGE_SUFFIX
- See Also:
- Constant Field Values
-
VARIATION_PREFIX
public static final java.lang.String VARIATION_PREFIX
- See Also:
- Constant Field Values
-
VARIATION_SUFFIX
public static final java.lang.String VARIATION_SUFFIX
- See Also:
- Constant Field Values
-
SAVE_VARIATION_PREFIX
public static final java.lang.String SAVE_VARIATION_PREFIX
- See Also:
- Constant Field Values
-
SAVE_VARIATION_SUFFIX
public static final java.lang.String SAVE_VARIATION_SUFFIX
- See Also:
- Constant Field Values
-
SAVE_CANDIDATE_REFERENCE_PREFIX
public static final java.lang.String SAVE_CANDIDATE_REFERENCE_PREFIX
- See Also:
- Constant Field Values
-
SAVE_CANDIDATE_REFERENCE_SUFFIX
public static final java.lang.String SAVE_CANDIDATE_REFERENCE_SUFFIX
- See Also:
- Constant Field Values
-
-
Method Detail
-
getSVGURLPrefix
protected java.lang.String getSVGURLPrefix()
- Specified by:
getSVGURLPrefix
in classPreconfiguredRenderingTest
-
getRefImagePrefix
protected java.lang.String getRefImagePrefix()
- Specified by:
getRefImagePrefix
in classPreconfiguredRenderingTest
-
getRefImageSuffix
protected java.lang.String getRefImageSuffix()
- Specified by:
getRefImageSuffix
in classPreconfiguredRenderingTest
-
getVariationPrefix
protected java.lang.String getVariationPrefix()
- Specified by:
getVariationPrefix
in classPreconfiguredRenderingTest
-
getVariationSuffix
protected java.lang.String getVariationSuffix()
- Specified by:
getVariationSuffix
in classPreconfiguredRenderingTest
-
getVariationPlatforms
protected java.lang.String[] getVariationPlatforms()
- Specified by:
getVariationPlatforms
in classPreconfiguredRenderingTest
-
getSaveVariationPrefix
protected java.lang.String getSaveVariationPrefix()
- Specified by:
getSaveVariationPrefix
in classPreconfiguredRenderingTest
-
getSaveVariationSuffix
protected java.lang.String getSaveVariationSuffix()
- Specified by:
getSaveVariationSuffix
in classPreconfiguredRenderingTest
-
getCandidateReferencePrefix
protected java.lang.String getCandidateReferencePrefix()
- Specified by:
getCandidateReferencePrefix
in classPreconfiguredRenderingTest
-
getCandidateReferenceSuffix
protected java.lang.String getCandidateReferenceSuffix()
- Specified by:
getCandidateReferenceSuffix
in classPreconfiguredRenderingTest
-
-