diff options
author | Matthias Clasen <mclasen@redhat.com> | 2021-11-17 20:56:25 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2021-11-18 13:58:15 -0500 |
commit | 4d60ee85616d500c3384301330b8bfae619c7963 (patch) | |
tree | b0e200841afd8da783c8cd6965ee1f5867dd9cfd /tests/layouts/valid-1.layout | |
parent | 2aead7a8e8828de6afef96611661997a52ca6739 (diff) | |
download | pango-4d60ee85616d500c3384301330b8bfae619c7963.tar.gz |
Make test-layout use layout serialization
Now that we have this api, lets use it for
our tests.
Diffstat (limited to 'tests/layouts/valid-1.layout')
-rw-r--r-- | tests/layouts/valid-1.layout | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/tests/layouts/valid-1.layout b/tests/layouts/valid-1.layout new file mode 100644 index 00000000..9289830b --- /dev/null +++ b/tests/layouts/valid-1.layout @@ -0,0 +1,20 @@ +{ + "text" : "This is a test of the automatic emergency brake!\n", + "attributes" : [ + { + "start" : 22, + "end" : 41, + "type" : "foreground", + "value" : "#00000000ffff" + }, + { + "start" : 22, + "end" : 41, + "type" : "underline", + "value" : "single" + } + ], + "font" : "Cantarell 11", + "ellipsize" : "end", + "width" : 225280 +} |