diff options
author | Matthias Clasen <mclasen@redhat.com> | 2021-11-28 18:38:26 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2021-11-29 08:12:11 -0500 |
commit | 60ae4ac4cf481e49f5ccbc4c97c95bb961620d61 (patch) | |
tree | 57524d0e9b99f2541d5601e18762ac2500b919c1 /tests/layouts | |
parent | b8dbc92ab571d88f9d9dca4a61ade2492c6e0642 (diff) | |
download | pango-60ae4ac4cf481e49f5ccbc4c97c95bb961620d61.tar.gz |
serializer: Support tab alignments
Serialize tab alignment in addition to tab
position. We still accept the old format
and default alignment to left.
Update testserialize and layout tests
for this.
Diffstat (limited to 'tests/layouts')
-rw-r--r-- | tests/layouts/valid-12.layout | 25 | ||||
-rw-r--r-- | tests/layouts/valid-13.layout | 25 |
2 files changed, 40 insertions, 10 deletions
diff --git a/tests/layouts/valid-12.layout b/tests/layouts/valid-12.layout index cc647178..bbe9a576 100644 --- a/tests/layouts/valid-12.layout +++ b/tests/layouts/valid-12.layout @@ -21,11 +21,26 @@ "tabs" : { "positions-in-pixels" : true, "positions" : [ - 0, - 50, - 100, - 150, - 200 + { + "position" : 0, + "alignment" : "left" + }, + { + "position" : 50, + "alignment" : "left" + }, + { + "position" : 100, + "alignment" : "left" + }, + { + "position" : 150, + "alignment" : "left" + }, + { + "position" : 200, + "alignment" : "left" + } ] }, "output" : { diff --git a/tests/layouts/valid-13.layout b/tests/layouts/valid-13.layout index 7b70a602..bc20a3c1 100644 --- a/tests/layouts/valid-13.layout +++ b/tests/layouts/valid-13.layout @@ -21,11 +21,26 @@ "tabs" : { "positions-in-pixels" : true, "positions" : [ - 0, - 50, - 100, - 150, - 200 + { + "position" : 0, + "alignment" : "left" + }, + { + "position" : 50, + "alignment" : "left" + }, + { + "position" : 100, + "alignment" : "left" + }, + { + "position" : 150, + "alignment" : "left" + }, + { + "position" : 200, + "alignment" : "left" + } ] }, "single-paragraph" : true, |