I generated the template for the test body with this one-liner:
for f in *; do echo "@Test"; echo "public void test${f^}() throws TranscoderException, IOException {"|tr '-' '_'|sed 's/\.svg//'; echo " test(\"samples/canvg/${f}\");"; echo "}"; echo; done
I could have prepended the license text to each file with a similar script, but found out that some of the files appear to be generated with commercial software, so it is better to leave them untouched.
Some of the test files, however, had to be edited because they lacked a namespace declaration. Being non-conformant, not even web browsers would render them, although they may work well when embedded within plain HTML (EchoSVG accepts namespaceless svg files embedded in HTML as well).
I generated the template for the test body with this one-liner:
I could have prepended the license text to each file with a similar script, but found out that some of the files appear to be generated with commercial software, so it is better to leave them untouched.
Some of the test files, however, had to be edited because they lacked a namespace declaration. Being non-conformant, not even web browsers would render them, although they may work well when embedded within plain HTML (EchoSVG accepts namespaceless svg files embedded in HTML as well).
Closes #92.