public class SVGRenderingAccuracyTestValidator extends DefaultTestSuite
SVGRenderingAccuracyTest
by forcing specific test case situations and checking that
they are handled properly by the class.tests
id, parent
Constructor and Description |
---|
SVGRenderingAccuracyTestValidator()
This test creates a sample SVG file dynamically and
valides that errors are generated for the
following cases:
+ invalid SVG URL
+ corrupted SVG image (i.e., cannot be transcoded to
an image).
|
Modifier and Type | Method and Description |
---|---|
static URL |
createSVGSourceURL(String svgContent)
Creates a SVG source URL for the given svg content
|
static URL |
createValidReferenceImage(String svgContent)
Helper method: creates a valid reference image
|
addTest, getChildrenCount, getChildrenTests, getName, removeTest, runImpl, setName
assertEquals, assertEquals, assertNull, assertTrue, error, getId, getParent, getQualifiedId, reportError, reportException, reportSuccess, run, runImplBasic, setId, setParent
public SVGRenderingAccuracyTestValidator()
Copyright © 2000–2023 Apache Software Foundation. All rights reserved.