diff options
author | Matthias Clasen <mclasen@redhat.com> | 2017-09-07 06:35:05 -0400 |
---|---|---|
committer | Behdad Esfahbod <behdad@behdad.org> | 2018-01-03 12:41:46 +0000 |
commit | 3ccb6085580d05bfb0f2dfb77d55eaea1403f45d (patch) | |
tree | 5a6be89456b019e38e7ed4fb53b53ff480aee60e /tests/markups | |
parent | efa66e7b634050ef395418b544b012a4a5183973 (diff) | |
download | pango-3ccb6085580d05bfb0f2dfb77d55eaea1403f45d.tar.gz |
Add some tests with variations
Diffstat (limited to 'tests/markups')
-rw-r--r-- | tests/markups/valid-10.expected | 24 | ||||
-rw-r--r-- | tests/markups/valid-10.markup | 11 | ||||
-rw-r--r-- | tests/markups/valid-11.expected | 50 | ||||
-rw-r--r-- | tests/markups/valid-11.markup | 11 |
4 files changed, 96 insertions, 0 deletions
diff --git a/tests/markups/valid-10.expected b/tests/markups/valid-10.expected new file mode 100644 index 00000000..1479696c --- /dev/null +++ b/tests/markups/valid-10.expected @@ -0,0 +1,24 @@ +Lots of attrs + + +--- + +range 0 13 +[0 13] font Sans Italic 12 @wdth=100,wght=200 +[0 13] foreground #0000ffff0000 +[0 13] background #f0f0f0f0f0f0 +[0 13] underline 2 +[0 13] underline-color #ffff00000000 +[0 13] gravity 0 +[0 13] gravity-hint 1 +[0 13] strikethrough 1 +[0 13] strikethrough-color #00000000ffff +[0 13] fallback 0 +[0 13] language de +range 13 2147483647 + + +--- + +[0:13] de Sans Italic 12 @wdth=100,wght=200 +[13:2147483647] (null) Sans Italic 12 @wdth=100,wght=200 diff --git a/tests/markups/valid-10.markup b/tests/markups/valid-10.markup new file mode 100644 index 00000000..b4540749 --- /dev/null +++ b/tests/markups/valid-10.markup @@ -0,0 +1,11 @@ +<span font="Sans Italic 12 @wdth=100,wght=200" + foreground="#00ff00" + background="#f0f0f0" + underline="double" + underline_color="red" + strikethrough="true" + strikethrough_color="blue" + fallback="false" + lang="de" + gravity="south" + gravity_hint="strong">Lots of attrs</span> diff --git a/tests/markups/valid-11.expected b/tests/markups/valid-11.expected new file mode 100644 index 00000000..a41b65b8 --- /dev/null +++ b/tests/markups/valid-11.expected @@ -0,0 +1,50 @@ +Lots of attrs + + +--- + +range 0 5 +[0 13] font Sans Italic 12 @wdth=100,wght=200 +[0 13] foreground #0000ffff0000 +[0 13] background #f0f0f0f0f0f0 +[0 13] underline 2 +[0 13] underline-color #ffff00000000 +[0 13] gravity 0 +[0 13] gravity-hint 1 +[0 13] strikethrough 1 +[0 13] strikethrough-color #00000000ffff +[0 13] fallback 0 +[0 13] language de +range 5 7 +[0 13] foreground #0000ffff0000 +[0 13] background #f0f0f0f0f0f0 +[0 13] underline 2 +[0 13] underline-color #ffff00000000 +[0 13] gravity 0 +[0 13] gravity-hint 1 +[0 13] strikethrough 1 +[0 13] strikethrough-color #00000000ffff +[0 13] fallback 0 +[0 13] language de +[5 7] font Bold +range 7 13 +[0 13] font Sans Italic 12 @wdth=100,wght=200 +[0 13] foreground #0000ffff0000 +[0 13] background #f0f0f0f0f0f0 +[0 13] underline 2 +[0 13] underline-color #ffff00000000 +[0 13] gravity 0 +[0 13] gravity-hint 1 +[0 13] strikethrough 1 +[0 13] strikethrough-color #00000000ffff +[0 13] fallback 0 +[0 13] language de +range 13 2147483647 + + +--- + +[0:5] de Sans Italic 12 @wdth=100,wght=200 +[5:7] de Sans Bold 12 @wdth=100,wght=200 +[7:13] de Sans Italic 12 @wdth=100,wght=200 +[13:2147483647] (null) Sans Italic 12 @wdth=100,wght=200 diff --git a/tests/markups/valid-11.markup b/tests/markups/valid-11.markup new file mode 100644 index 00000000..e7ae8388 --- /dev/null +++ b/tests/markups/valid-11.markup @@ -0,0 +1,11 @@ +<span font="Sans Italic 12 @wdth=100,wght=200" + foreground="#00ff00" + background="#f0f0f0" + underline="double" + underline_color="red" + strikethrough="true" + strikethrough_color="blue" + fallback="false" + lang="de" + gravity="south" + gravity_hint="strong">Lots <span font="bold">of</span> attrs</span> |