public class SVGTextContentRenderingAccuracyTest extends ParametrizedRenderingAccuracyTest
SVGRenderingAccuracyTest.InternalPNGTranscoder
Modifier and Type | Field and Description |
---|---|
protected String |
onload |
protected String |
parameter |
protected String |
script |
PARAMETER_SEPARATOR
REF_IMAGE_PREFIX, REF_IMAGE_SUFFIX, SAVE_CANDIDATE_REFERENCE_PREFIX, SAVE_CANDIDATE_REFERENCE_SUFFIX, SAVE_VARIATION_PREFIX, SAVE_VARIATION_SUFFIX, SVG_URL_PREFIX, VARIATION_PREFIX, VARIATION_SUFFIX
DEFAULT_VARIATION_PLATFORMS, PATH_SEPARATOR, PNG_EXTENSION, SVG_EXTENSION, SVGZ_EXTENSION
ERROR_CANNOT_TRANSCODE_SVG, userLanguage, validate, VALIDATING_PARSER
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
id, name, parent
Constructor and Description |
---|
SVGTextContentRenderingAccuracyTest() |
Modifier and Type | Method and Description |
---|---|
protected Document |
manipulateSVGDocument(Document doc)
Template method which subclasses can override if they
need to manipulate the DOM in some way before running
the accuracy test.
|
void |
setOnLoadFunction(String onload) |
void |
setParameter(String parameter) |
void |
setScript(String script) |
buildCandidateReferenceFile, buildRefImgURL, buildSaveVariationFile, buildVariationURLs, getParameterSeparator, setId
getCandidateReferencePrefix, getCandidateReferenceSuffix, getRefImagePrefix, getRefImageSuffix, getSaveVariationPrefix, getSaveVariationSuffix, getSVGURLPrefix, getVariationPlatforms, getVariationPrefix, getVariationSuffix
breakSVGFile, buildSVGURL, getName, setFile
encode, getTestImageTranscoder, getUserLanguage, getValidating, setUserLanguage, setValidating
addVariationURL, buildDiffImage, compare, getCandidateReference, getImage, getImage, getNextTempFileName, getNextTempFileName, getSaveVariation, getTempDirectory, getURLFile, getVariationURLs, imageToFile, makeCompareImage, makeRandomFileName, makeTempFileName, resolveURL, run, saveImage, saveImage, setCandidateReference, setConfig, setSaveVariation
assertEquals, assertEquals, assertNull, assertTrue, error, getId, getParent, getQualifiedId, reportError, reportException, reportSuccess, runImpl, runImplBasic, setName, setParent
protected String script
protected String onload
protected String parameter
public void setScript(String script)
public void setOnLoadFunction(String onload)
public void setParameter(String parameter)
protected Document manipulateSVGDocument(Document doc)
SVGRenderingAccuracyTest
manipulateSVGDocument
in class SVGRenderingAccuracyTest
Copyright © 2000–2023 Apache Software Foundation. All rights reserved.