summaryrefslogtreecommitdiffstats
path: root/testfiles/cli_tests/testcases/systemLanguage.svg
diff options
context:
space:
mode:
Diffstat (limited to 'testfiles/cli_tests/testcases/systemLanguage.svg')
-rw-r--r--testfiles/cli_tests/testcases/systemLanguage.svg20
1 files changed, 20 insertions, 0 deletions
diff --git a/testfiles/cli_tests/testcases/systemLanguage.svg b/testfiles/cli_tests/testcases/systemLanguage.svg
new file mode 100644
index 0000000..c650dc9
--- /dev/null
+++ b/testfiles/cli_tests/testcases/systemLanguage.svg
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<svg xmlns="http://www.w3.org/2000/svg" width="500" height="100">
+ <switch id="switch">
+ <!-- some fuzz to probe for crashing issues -->
+ <rect systemLanguage="" width="1" height="1"/>
+ <rect systemLanguage=" " width="1" height="1"/>
+ <rect systemLanguage="_" width="1" height="1"/>
+ <rect systemLanguage="-" width="1" height="1"/>
+ <rect systemLanguage="#" width="1" height="1"/>
+ <rect systemLanguage="-CH" width="1" height="1"/>
+
+ <!-- use rects instead of text to avoid any issues with font rendering -->
+ <!-- note: we don't support the 'allowReorder' attribute yet -->
+ <rect systemLanguage="en" x="10" y="10" width="80" height="80" fill="#00f"/>
+ <rect systemLanguage="fr" x="110" y="10" width="80" height="80" fill="#00f"/>
+ <rect systemLanguage="de-CH" x="210" y="10" width="80" height="80" fill="#00f"/>
+ <rect systemLanguage="es, pt" x="310" y="10" width="80" height="80" fill="#00f"/>
+ <rect x="410" y="10" width="80" height="80" fill="#00f"/>
+ </switch>
+</svg>