diff options
author | Matthias Clasen <mclasen@redhat.com> | 2017-09-07 06:35:05 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2017-12-23 17:04:27 -0500 |
commit | 76058679cd8068ee985f11c6c05e6333d83a19dc (patch) | |
tree | 3e2b14f1d44a4986d5a9ac638b85863b1141a0a6 /tests | |
parent | 55ee89371e180f4a8d30c10e3ff1a2d2eaaa16c8 (diff) | |
download | pango-76058679cd8068ee985f11c6c05e6333d83a19dc.tar.gz |
Add some tests with variations
Diffstat (limited to 'tests')
-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> |