summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2012-11-08 23:16:55 +0100
committerBenjamin Otte <otte@redhat.com>2012-11-08 23:34:30 +0100
commitffeef28dbc62fd7de9be47f0bc47d0bc4f0d7e01 (patch)
tree16c3ac1e46e153da352e30f707308986a1c1e808 /tests
parent0d9a45d46006cf03afc1868130005736cf5a2d0c (diff)
downloadgtk+-ffeef28dbc62fd7de9be47f0bc47d0bc4f0d7e01.tar.gz
reftests: Add test for recent fix
Diffstat (limited to 'tests')
-rw-r--r--tests/reftests/Makefile.am2
-rw-r--r--tests/reftests/label-ellipsize-small.ref.ui15
-rw-r--r--tests/reftests/label-ellipsize-small.ui16
3 files changed, 33 insertions, 0 deletions
diff --git a/tests/reftests/Makefile.am b/tests/reftests/Makefile.am
index b3bdc28e55..fbf118d41e 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 0000000000..dd7bb852c5
--- /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 0000000000..c2d4fd0ed7
--- /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>