summaryrefslogtreecommitdiff
path: root/testsuite/tools
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2020-11-01 11:39:28 -0500
committerMatthias Clasen <mclasen@redhat.com>2020-11-01 21:23:35 -0500
commitc01f3be6e623c48230f4a566f0a7bc829e72de8b (patch)
treeea4a288a6916756f8b730a69f26ed5ab75f6e5bf /testsuite/tools
parent0cf372c8148984e625d41787c92e809680f670f4 (diff)
downloadgtk+-c01f3be6e623c48230f4a566f0a7bc829e72de8b.tar.gz
testsuite: Test GtkActionBar rewriting
Diffstat (limited to 'testsuite/tools')
-rw-r--r--testsuite/tools/simplify-data-3to4/actionbar.expected13
-rw-r--r--testsuite/tools/simplify-data-3to4/actionbar.ui14
2 files changed, 27 insertions, 0 deletions
diff --git a/testsuite/tools/simplify-data-3to4/actionbar.expected b/testsuite/tools/simplify-data-3to4/actionbar.expected
new file mode 100644
index 0000000000..a063c7f2b6
--- /dev/null
+++ b/testsuite/tools/simplify-data-3to4/actionbar.expected
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<interface>
+ <requires lib="gtk+" version="3.0"/>
+ <object class="GtkActionBar">
+ <property name="visible">0</property>
+ <child type="start">
+ <object class="GtkButton" id="button">
+ <property name="visible">0</property>
+ <property name="icon-name">document-new</property>
+ </object>
+ </child>
+ </object>
+</interface>
diff --git a/testsuite/tools/simplify-data-3to4/actionbar.ui b/testsuite/tools/simplify-data-3to4/actionbar.ui
new file mode 100644
index 0000000000..efae5962d9
--- /dev/null
+++ b/testsuite/tools/simplify-data-3to4/actionbar.ui
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<interface>
+ <requires lib="gtk+" version="3.0"/>
+ <object class="GtkActionBar">
+ <child>
+ <object class="GtkButton" id="button">
+ <property name="icon-name">document-new</property>
+ </object>
+ <packing>
+ <property name="pack-type">start</property>
+ </packing>
+ </child>
+ </object>
+</interface>