summaryrefslogtreecommitdiff
path: root/tests/markups
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2019-10-31 22:29:21 -0400
committerMatthias Clasen <mclasen@redhat.com>2019-10-31 22:38:00 -0400
commite9dad64cca8d219e176385e404a4f9bb3ec6b483 (patch)
tree17635b2391ecf6143ecb82f803ad829a129bd66e /tests/markups
parent781b6934214773e49213e30472aa47868cdb1cc4 (diff)
downloadpango-e9dad64cca8d219e176385e404a4f9bb3ec6b483.tar.gz
Add tests for new markup
Diffstat (limited to 'tests/markups')
-rw-r--r--tests/markups/valid-12.expected38
-rw-r--r--tests/markups/valid-12.markup5
2 files changed, 43 insertions, 0 deletions
diff --git a/tests/markups/valid-12.expected b/tests/markups/valid-12.expected
new file mode 100644
index 00000000..39c8c4e4
--- /dev/null
+++ b/tests/markups/valid-12.expected
@@ -0,0 +1,38 @@
+overline
+overline_color
+single-line
+double-line
+error-line
+
+
+---
+
+range 0 8
+[0,8]overline=1
+range 8 9
+range 9 23
+[9,23]overline-color=#ffff00000000
+range 23 24
+range 24 35
+[24,35]underline=5
+range 35 36
+range 36 47
+[36,47]underline=6
+range 47 48
+range 48 58
+[48,58]underline=7
+range 58 2147483647
+
+
+---
+
+[0:8] (null) Normal
+[8:9] (null) Normal
+[9:23] (null) Normal
+[23:24] (null) Normal
+[24:35] (null) Normal
+[35:36] (null) Normal
+[36:47] (null) Normal
+[47:48] (null) Normal
+[48:58] (null) Normal
+[58:2147483647] (null) Normal
diff --git a/tests/markups/valid-12.markup b/tests/markups/valid-12.markup
new file mode 100644
index 00000000..4822024d
--- /dev/null
+++ b/tests/markups/valid-12.markup
@@ -0,0 +1,5 @@
+<span overline="single">overline</span>
+<span overline_color="red">overline_color</span>
+<span underline="single-line">single-line</span>
+<span underline="double-line">double-line</span>
+<span underline="error-line">error-line</span>