summaryrefslogtreecommitdiff
path: root/tests/layouts/valid-2.layout
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2021-11-17 20:56:25 -0500
committerMatthias Clasen <mclasen@redhat.com>2021-11-18 13:58:15 -0500
commit4d60ee85616d500c3384301330b8bfae619c7963 (patch)
treeb0e200841afd8da783c8cd6965ee1f5867dd9cfd /tests/layouts/valid-2.layout
parent2aead7a8e8828de6afef96611661997a52ca6739 (diff)
downloadpango-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-2.layout')
-rw-r--r--tests/layouts/valid-2.layout18
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/layouts/valid-2.layout b/tests/layouts/valid-2.layout
new file mode 100644
index 00000000..303b2b67
--- /dev/null
+++ b/tests/layouts/valid-2.layout
@@ -0,0 +1,18 @@
+{
+ "text" : "test the blue drink after dinner\n",
+ "attributes" : [
+ {
+ "start" : 9,
+ "end" : 13,
+ "type" : "style",
+ "value" : "italic"
+ },
+ {
+ "start" : 20,
+ "end" : 25,
+ "type" : "underline",
+ "value" : "single"
+ }
+ ],
+ "font" : "Cantarell 11"
+}