Class ParametrizedRenderingAccuracyTest

    • Field Detail

      • parameter

        protected java.lang.String parameter
        Parameter which was passed appended to the SVG file
    • Constructor Detail

      • ParametrizedRenderingAccuracyTest

        public ParametrizedRenderingAccuracyTest()
        Constructor.
    • Method Detail

      • getParameterSeparator

        public char getParameterSeparator()
      • setId

        public void setId​(java.lang.String id)
        Description copied from class: PreconfiguredRenderingTest
        For preconfigured tests, the configuration has to be derived from the test identifier. The identifier should characterize the SVG file to be tested.
        Specified by:
        setId in interface Test
        Overrides:
        setId in class PreconfiguredRenderingTest
      • buildRefImgURL

        protected java.lang.String buildRefImgURL​(java.lang.String svgDir,
                                                  java.lang.String svgFile)
        Gives a chance to the subclass to control the construction of the reference PNG file from the svgFile name The refImgURL is built as: getRefImagePrefix() + svgDir + getRefImageSuffix() + svgFile
        Overrides:
        buildRefImgURL in class PreconfiguredRenderingTest
      • buildVariationURLs

        public java.lang.String[] buildVariationURLs​(java.lang.String svgDir,
                                                     java.lang.String svgFile)
        Gives a chance to the subclass to control the construction of the variation URL, which is built as: getVariationPrefix() + svgDir + getVariationSuffix() + svgFile + parameter + PNG_EXTENSION
        Overrides:
        buildVariationURLs in class PreconfiguredRenderingTest
      • buildSaveVariationFile

        public java.lang.String buildSaveVariationFile​(java.lang.String svgDir,
                                                       java.lang.String svgFile)
        Gives a chance to the subclass to control the construction of the saveVariation URL, which is built as: getSaveVariationPrefix() + svgDir + getSaveVariationSuffix() + svgFile + parameter + PNG_EXTENSION
        Overrides:
        buildSaveVariationFile in class PreconfiguredRenderingTest
      • buildCandidateReferenceFile

        public java.lang.String buildCandidateReferenceFile​(java.lang.String svgDir,
                                                            java.lang.String svgFile)
        Gives a chance to the subclass to control the construction of the candidateReference URL, which is built as: getSaveVariationPrefix() + svgDir + getSaveVariationSuffix() + svgFile + parameter + PNG_EXTENSION
        Overrides:
        buildCandidateReferenceFile in class PreconfiguredRenderingTest