summaryrefslogtreecommitdiff
path: root/tests/layouts/valid-11.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-11.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-11.layout')
-rw-r--r--tests/layouts/valid-11.layout42
1 files changed, 42 insertions, 0 deletions
diff --git a/tests/layouts/valid-11.layout b/tests/layouts/valid-11.layout
new file mode 100644
index 00000000..a044cc53
--- /dev/null
+++ b/tests/layouts/valid-11.layout
@@ -0,0 +1,42 @@
+{
+ "text" : "double low error\n",
+ "attributes" : [
+ {
+ "end" : 6,
+ "type" : "underline",
+ "value" : "double"
+ },
+ {
+ "end" : 6,
+ "type" : "overline",
+ "value" : "single"
+ },
+ {
+ "start" : 7,
+ "end" : 10,
+ "type" : "underline",
+ "value" : "low"
+ },
+ {
+ "start" : 7,
+ "end" : 10,
+ "type" : "strikethrough",
+ "value" : true
+ },
+ {
+ "start" : 11,
+ "end" : 16,
+ "type" : "underline",
+ "value" : "error"
+ },
+ {
+ "start" : 11,
+ "end" : 16,
+ "type" : "rise",
+ "value" : 1024
+ }
+ ],
+ "font" : "Cantarell 11",
+ "wrap" : "char",
+ "width" : 225280
+}