Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.apache.batik.test.svg
Class SamplesRenderingTest  view SamplesRenderingTest download SamplesRenderingTest.java

java.lang.Object
  extended byorg.apache.batik.test.AbstractTest
      extended byorg.apache.batik.test.svg.AbstractRenderingAccuracyTest
          extended byorg.apache.batik.test.svg.SVGRenderingAccuracyTest
              extended byorg.apache.batik.test.svg.PreconfiguredRenderingTest
                  extended byorg.apache.batik.test.svg.SamplesRenderingTest
All Implemented Interfaces:
org.apache.batik.test.Test
Direct Known Subclasses:
JSVGRenderingAccuracyTest, ParametrizedRenderingAccuracyTest

public class SamplesRenderingTest
extends PreconfiguredRenderingTest

Preconfigured test for SVG files under the xml-batik directory.

Version:
$Id: SamplesRenderingTest.java,v 1.7 2005/03/27 08:58:37 cam Exp $

Nested Class Summary
 
Nested classes inherited from class org.apache.batik.test.svg.SVGRenderingAccuracyTest
SVGRenderingAccuracyTest.InternalPNGTranscoder
 
Field Summary
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
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, variationURL
 
Fields inherited from class org.apache.batik.test.AbstractTest
id, name, parent
 
Constructor Summary
SamplesRenderingTest()
           
 
Method Summary
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 getVariationPrefix()
           
protected  java.lang.String getVariationSuffix()
           
 
Methods inherited from class org.apache.batik.test.svg.PreconfiguredRenderingTest
breakSVGFile, buildCandidateReferenceFile, buildRefImgURL, buildSaveVariationFile, buildSVGURL, buildVariationURL, 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
buildDiffImage, compare, getCandidateReference, getImage, getImage, getNextTempFileName, getNextTempFileName, getSaveVariation, getTempDirectory, getURLFile, getVariationURL, imageToFile, makeCompareImage, makeRandomFileName, makeTempFileName, resolveURL, run, saveImage, saveImage, setCandidateReference, setConfig, setSaveVariation, setVariationURL
 
Methods inherited from class org.apache.batik.test.AbstractTest
assertEquals, assertEquals, assertNull, assertTrue, error, getId, getParent, getQualifiedId, reportError, reportException, reportSuccess, runImpl, runImplBasic, setName, setParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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
Constructor Detail

SamplesRenderingTest

public SamplesRenderingTest()
Method Detail

getSVGURLPrefix

protected java.lang.String getSVGURLPrefix()
Specified by:
getSVGURLPrefix in class PreconfiguredRenderingTest

getRefImagePrefix

protected java.lang.String getRefImagePrefix()
Specified by:
getRefImagePrefix in class PreconfiguredRenderingTest

getRefImageSuffix

protected java.lang.String getRefImageSuffix()
Specified by:
getRefImageSuffix in class PreconfiguredRenderingTest

getVariationPrefix

protected java.lang.String getVariationPrefix()
Specified by:
getVariationPrefix in class PreconfiguredRenderingTest

getVariationSuffix

protected java.lang.String getVariationSuffix()
Specified by:
getVariationSuffix in class PreconfiguredRenderingTest

getSaveVariationPrefix

protected java.lang.String getSaveVariationPrefix()
Specified by:
getSaveVariationPrefix in class PreconfiguredRenderingTest

getSaveVariationSuffix

protected java.lang.String getSaveVariationSuffix()
Specified by:
getSaveVariationSuffix in class PreconfiguredRenderingTest

getCandidateReferencePrefix

protected java.lang.String getCandidateReferencePrefix()
Specified by:
getCandidateReferencePrefix in class PreconfiguredRenderingTest

getCandidateReferenceSuffix

protected java.lang.String getCandidateReferenceSuffix()
Specified by:
getCandidateReferenceSuffix in class PreconfiguredRenderingTest