[gtk+] reftests: Add test for recent fix



commit ffeef28dbc62fd7de9be47f0bc47d0bc4f0d7e01
Author: Benjamin Otte <otte redhat com>
Date:   Thu Nov 8 23:16:55 2012 +0100

    reftests: Add test for recent fix

 tests/reftests/Makefile.am                  |    2 ++
 tests/reftests/label-ellipsize-small.ref.ui |   15 +++++++++++++++
 tests/reftests/label-ellipsize-small.ui     |   16 ++++++++++++++++
 3 files changed, 33 insertions(+), 0 deletions(-)
---
diff --git a/tests/reftests/Makefile.am b/tests/reftests/Makefile.am
index b3bdc28..fbf118d 100644
--- a/tests/reftests/Makefile.am
+++ b/tests/reftests/Makefile.am
@@ -182,6 +182,8 @@ EXTRA_DIST += \
 	label-attribute-preference.css \
 	label-attribute-preference.ref.ui \
 	label-attribute-preference.ui \
+	label-ellipsize-small.ref.ui \
+	label-ellipsize-small.ui \
 	label-ellipsize-with-big.ref.ui \
 	label-ellipsize-with-big.ui \
 	label-shadows.css \
diff --git a/tests/reftests/label-ellipsize-small.ref.ui b/tests/reftests/label-ellipsize-small.ref.ui
new file mode 100644
index 0000000..dd7bb85
--- /dev/null
+++ b/tests/reftests/label-ellipsize-small.ref.ui
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<interface>
+  <!-- interface-requires gtk+ 3.0 -->
+  <object class="GtkWindow" id="window1">
+    <property name="can_focus">False</property>
+    <property name="type">popup</property>
+    <child>
+      <object class="GtkLabel" id="label1">
+        <property name="visible">True</property>
+        <property name="can_focus">False</property>
+        <property name="label" translatable="yes">d</property>
+      </object>
+    </child>
+  </object>
+</interface>
diff --git a/tests/reftests/label-ellipsize-small.ui b/tests/reftests/label-ellipsize-small.ui
new file mode 100644
index 0000000..c2d4fd0
--- /dev/null
+++ b/tests/reftests/label-ellipsize-small.ui
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<interface>
+  <!-- interface-requires gtk+ 3.0 -->
+  <object class="GtkWindow" id="window1">
+    <property name="can_focus">False</property>
+    <property name="type">popup</property>
+    <child>
+      <object class="GtkLabel" id="label1">
+        <property name="visible">True</property>
+        <property name="can_focus">False</property>
+        <property name="label" translatable="yes">d</property>
+        <property name="ellipsize">end</property>
+      </object>
+    </child>
+  </object>
+</interface>



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