diff options
author | Matthias Clasen <mclasen@redhat.com> | 2014-08-30 20:20:00 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2014-08-30 20:20:00 -0400 |
commit | 0068b78276c4ac7df95d97fa270a5e8ca4b58348 (patch) | |
tree | 17ea02a2981883c9b230b3022e3fbc32a55bcd81 /tests/layouts/valid-2.expected | |
parent | 92e7b73e27f54db86d58dcb5b4ddaafb32101980 (diff) | |
download | pango-0068b78276c4ac7df95d97fa270a5e8ca4b58348.tar.gz |
Add tests for PangoLayout
This tests works similar to the markup parser tests -
we populate a layout with known data, and then compare
a dump of its properties with expected output.
Diffstat (limited to 'tests/layouts/valid-2.expected')
-rw-r--r-- | tests/layouts/valid-2.expected | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/tests/layouts/valid-2.expected b/tests/layouts/valid-2.expected new file mode 100644 index 00000000..c98bfd59 --- /dev/null +++ b/tests/layouts/valid-2.expected @@ -0,0 +1,34 @@ +test the blue drink after dinner + +--- + +wrapped: 0 +ellipsized: 0 +lines: 2 + +--- + +range 0 9 +range 9 13 +[9 13] style 2 +range 13 20 +range 20 25 +[20 25] underline 1 +range 25 2147483647 + +--- + +i=1, index=0, paragraph-start=1, dir=ltr 'test the blue drink after dinner +' +i=2, index=33, paragraph-start=1, dir=ltr '' + +--- + +i=1, index=0, chars=9, level=0, gravity=south, flags=0, font=Cantarell 11, script=latin, language=c, 'test the ' +i=2, index=9, chars=4, level=0, gravity=south, flags=0, font=Cantarell Oblique 11, script=latin, language=c, 'blue' +i=3, index=13, chars=7, level=0, gravity=south, flags=0, font=Cantarell 11, script=latin, language=c, ' drink ' +i=4, index=20, chars=5, level=0, gravity=south, flags=0, font=Cantarell 11, script=latin, language=c, 'after' + [20 25] underline 1 +i=5, index=25, chars=7, level=0, gravity=south, flags=0, font=Cantarell 11, script=latin, language=c, ' dinner' +i=6, index=32, no run, line end +i=7, index=33, no run, line end |