[gtk+/font-chooser] reftests: Add test for recent fix
- From: Alberto Ruiz <aruiz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/font-chooser] reftests: Add test for recent fix
- Date: Wed, 20 Jul 2011 20:20:58 +0000 (UTC)
commit 0a33a269ae46003ac023470abc3b05a541e03a5f
Author: Benjamin Otte <otte redhat com>
Date: Tue Jul 19 11:57:27 2011 +0200
reftests: Add test for recent fix
https://bugzilla.gnome.org/show_bug.cgi?id=654678
tests/reftests/Makefile.am | 2 ++
tests/reftests/messagedialog-secondarytext.ref.ui | 14 ++++++++++++++
tests/reftests/messagedialog-secondarytext.ui | 19 +++++++++++++++++++
3 files changed, 35 insertions(+), 0 deletions(-)
---
diff --git a/tests/reftests/Makefile.am b/tests/reftests/Makefile.am
index 0d4c19d..710a83d 100644
--- a/tests/reftests/Makefile.am
+++ b/tests/reftests/Makefile.am
@@ -119,6 +119,8 @@ EXTRA_DIST += \
label-small-ellipsized.ui \
label-wrap-justify.ref.ui \
label-wrap-justify.ui \
+ messagedialog-secondarytext.ui \
+ messagedialog-secondarytext.ref.ui \
misc-alignment.css \
misc-alignment.ui \
misc-alignment.ref.ui \
diff --git a/tests/reftests/messagedialog-secondarytext.ref.ui b/tests/reftests/messagedialog-secondarytext.ref.ui
new file mode 100644
index 0000000..6f7381c
--- /dev/null
+++ b/tests/reftests/messagedialog-secondarytext.ref.ui
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<interface>
+ <!-- interface-requires gtk+ 3.0 -->
+ <object class="GtkMessageDialog" id="messagedialog1">
+ <property name="can_focus">False</property>
+ <property name="border_width">5</property>
+ <property name="type">popup</property>
+ <property name="type_hint">dialog</property>
+ <property name="skip_taskbar_hint">True</property>
+ <property name="buttons">ok</property>
+ <property name="text" translatable="yes">Text</property>
+ <property name="secondary_text" translatable="yes">Secondary text #5</property>
+ </object>
+</interface>
diff --git a/tests/reftests/messagedialog-secondarytext.ui b/tests/reftests/messagedialog-secondarytext.ui
new file mode 100644
index 0000000..ed1767b
--- /dev/null
+++ b/tests/reftests/messagedialog-secondarytext.ui
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<interface>
+ <!-- interface-requires gtk+ 3.0 -->
+ <object class="GtkMessageDialog" id="messagedialog1">
+ <property name="can_focus">False</property>
+ <property name="border_width">5</property>
+ <property name="type">popup</property>
+ <property name="type_hint">dialog</property>
+ <property name="skip_taskbar_hint">True</property>
+ <property name="buttons">ok</property>
+ <property name="text" translatable="yes">Text</property>
+ <!-- We set the property multiple times on purpose here -->
+ <property name="secondary_text" translatable="yes">Secondary text #1</property>
+ <property name="secondary_text" translatable="yes">Secondary text #2</property>
+ <property name="secondary_text" translatable="yes">Secondary text #3</property>
+ <property name="secondary_text" translatable="yes">Secondary text #4</property>
+ <property name="secondary_text" translatable="yes">Secondary text #5</property>
+ </object>
+</interface>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]