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.StringREF_IMAGE_PREFIXstatic java.lang.StringREF_IMAGE_SUFFIXstatic java.lang.StringSAVE_CANDIDATE_REFERENCE_PREFIXstatic java.lang.StringSAVE_CANDIDATE_REFERENCE_SUFFIXstatic java.lang.StringSAVE_VARIATION_PREFIXstatic java.lang.StringSAVE_VARIATION_SUFFIXstatic java.lang.StringSVG_URL_PREFIXstatic java.lang.StringVARIATION_PREFIXstatic java.lang.StringVARIATION_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.StringgetCandidateReferencePrefix()protected java.lang.StringgetCandidateReferenceSuffix()protected java.lang.StringgetRefImagePrefix()protected java.lang.StringgetRefImageSuffix()protected java.lang.StringgetSaveVariationPrefix()protected java.lang.StringgetSaveVariationSuffix()protected java.lang.StringgetSVGURLPrefix()protected java.lang.String[]getVariationPlatforms()protected java.lang.StringgetVariationPrefix()protected java.lang.StringgetVariationSuffix()-
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:
getSVGURLPrefixin classPreconfiguredRenderingTest
-
getRefImagePrefix
protected java.lang.String getRefImagePrefix()
- Specified by:
getRefImagePrefixin classPreconfiguredRenderingTest
-
getRefImageSuffix
protected java.lang.String getRefImageSuffix()
- Specified by:
getRefImageSuffixin classPreconfiguredRenderingTest
-
getVariationPrefix
protected java.lang.String getVariationPrefix()
- Specified by:
getVariationPrefixin classPreconfiguredRenderingTest
-
getVariationSuffix
protected java.lang.String getVariationSuffix()
- Specified by:
getVariationSuffixin classPreconfiguredRenderingTest
-
getVariationPlatforms
protected java.lang.String[] getVariationPlatforms()
- Specified by:
getVariationPlatformsin classPreconfiguredRenderingTest
-
getSaveVariationPrefix
protected java.lang.String getSaveVariationPrefix()
- Specified by:
getSaveVariationPrefixin classPreconfiguredRenderingTest
-
getSaveVariationSuffix
protected java.lang.String getSaveVariationSuffix()
- Specified by:
getSaveVariationSuffixin classPreconfiguredRenderingTest
-
getCandidateReferencePrefix
protected java.lang.String getCandidateReferencePrefix()
- Specified by:
getCandidateReferencePrefixin classPreconfiguredRenderingTest
-
getCandidateReferenceSuffix
protected java.lang.String getCandidateReferenceSuffix()
- Specified by:
getCandidateReferenceSuffixin classPreconfiguredRenderingTest
-
-