public class SVGRenderingAccuracyTestValidator extends DefaultTestSuite
SVGRenderingAccuracyTest
by forcing specific test case situations and checking that
they are handled properly by the class.testsid, 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, setNameassertEquals, assertEquals, assertNull, assertTrue, error, getId, getParent, getQualifiedId, reportError, reportException, reportSuccess, run, runImplBasic, setId, setParentpublic SVGRenderingAccuracyTestValidator()
Copyright © 2000–2024 Apache Software Foundation. All rights reserved.