This test validates that a given WMF file is properly converted to
an SVG document by comparing the generated SVG document to a known,
valid SVG reference.
author: String
ERROR_ERROR_WHILE_COMPARING_FILES Error when there is an IOException while comparing the
reference SVG file with the newly generated SVG content
{0} = URI of the reference image
{1} = IOException message.
resolveURL(String url) Resolves the input string as follows.
+ First, the string is interpreted as a file description.
If the file exists, then the file name is turned into
a URL.
+ Otherwise, the string is supposed to be a URL.
final public static String CANDIDATE_REF_DIR(Code)
ENTRY_KEY_COLUMN_EXPECTED_VALUE
final public static String ENTRY_KEY_COLUMN_EXPECTED_VALUE(Code)
ENTRY_KEY_COLUMN_FOUND_VALUE
final public static String ENTRY_KEY_COLUMN_FOUND_VALUE(Code)
ENTRY_KEY_COLUMN_NUMBER
final public static String ENTRY_KEY_COLUMN_NUMBER(Code)
ENTRY_KEY_ERROR_DESCRIPTION
final public static String ENTRY_KEY_ERROR_DESCRIPTION(Code)
ENTRY_KEY_LINE_NUMBER
final public static String ENTRY_KEY_LINE_NUMBER(Code)
ENTRY_KEY_NEW_LINE
final public static String ENTRY_KEY_NEW_LINE(Code)
ENTRY_KEY_REFERENCE_LINE
final public static String ENTRY_KEY_REFERENCE_LINE(Code)
ERROR_CANNOT_GENERATE_SVG
final public static String ERROR_CANNOT_GENERATE_SVG(Code)
Error when an error occurs while generating SVG
with the SVGGraphics2D
{0} = painter class name if painter not null. Null otherwise
{1} = exception class name
{2} = exception message
{3} = exception stack trace.
ERROR_CANNOT_OPEN_REFERENCE_SVG_FILE
final public static String ERROR_CANNOT_OPEN_REFERENCE_SVG_FILE(Code)
Error when the reference SVG file cannot be opened
{0} = URI of the reference image
{1} = IOException message
ERROR_ERROR_WHILE_COMPARING_FILES
final public static String ERROR_ERROR_WHILE_COMPARING_FILES(Code)
Error when there is an IOException while comparing the
reference SVG file with the newly generated SVG content
{0} = URI of the reference image
{1} = IOException message.
ERROR_GENERATED_SVG_INACCURATE
final public static String ERROR_GENERATED_SVG_INACCURATE(Code)
Error when the generated SVG is inaccurate
GENERATOR_REFERENCE_BASE
final public static String GENERATOR_REFERENCE_BASE(Code)
Resolves the input string as follows.
+ First, the string is interpreted as a file description.
If the file exists, then the file name is turned into
a URL.
+ Otherwise, the string is supposed to be a URL. If it
is an invalid URL, an IllegalArgumentException is thrown.