[gtk/matthiasc/for-master: 15/25] testsuite: Test GtkPaned rewriting




commit 0cf372c8148984e625d41787c92e809680f670f4
Author: Matthias Clasen <mclasen redhat com>
Date:   Sun Nov 1 11:38:49 2020 -0500

    testsuite: Test GtkPaned rewriting

 testsuite/tools/simplify-data-3to4/paned.expected | 14 +++++++++++++
 testsuite/tools/simplify-data-3to4/paned.ui       | 25 +++++++++++++++++++++++
 2 files changed, 39 insertions(+)
---
diff --git a/testsuite/tools/simplify-data-3to4/paned.expected 
b/testsuite/tools/simplify-data-3to4/paned.expected
new file mode 100644
index 0000000000..a1acaae442
--- /dev/null
+++ b/testsuite/tools/simplify-data-3to4/paned.expected
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<interface>
+  <requires lib="gtk+" version="3.0"/>
+  <object class="GtkPaned">
+    <property name="resize-end-child">0</property>
+    <property name="shrink-start-child">0</property>
+    <child>
+      <object class="GtkButton" id="button"/>
+    </child>
+    <child>
+      <object class="GtkLabel" id="label"/>
+    </child>
+  </object>
+</interface>
diff --git a/testsuite/tools/simplify-data-3to4/paned.ui b/testsuite/tools/simplify-data-3to4/paned.ui
new file mode 100644
index 0000000000..13f736438a
--- /dev/null
+++ b/testsuite/tools/simplify-data-3to4/paned.ui
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<interface>
+  <requires lib="gtk+" version="3.0"/>
+  <object class="GtkPaned">
+    <property name="visible">1</property>
+    <child>
+      <object class="GtkButton" id="button">
+        <property name="visible">1</property>
+      </object>
+      <packing>
+        <property name="resize">True</property>
+        <property name="shrink">False</property>
+      </packing>
+    </child>
+    <child>
+      <object class="GtkLabel" id="label">
+        <property name="visible">1</property>
+      </object>
+      <packing>
+        <property name="resize">0</property>
+        <property name="shrink">1</property>
+      </packing>
+    </child>
+  </object>
+</interface>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]