[gtk+] reftests: Add a test for window default size
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] reftests: Add a test for window default size
- Date: Sat, 6 Apr 2013 08:48:50 +0000 (UTC)
commit 8687fbc15e1ec68305f7fdce2f94d56d55c7d617
Author: Benjamin Otte <otte redhat com>
Date: Sat Apr 6 10:46:00 2013 +0200
reftests: Add a test for window default size
https://bugzilla.gnome.org/show_bug.cgi?id=697275
tests/reftests/Makefile.am | 4 +++-
tests/reftests/window-default-size.ref.ui | 13 +++++++++++++
tests/reftests/window-default-size.ui | 13 +++++++++++++
3 files changed, 29 insertions(+), 1 deletions(-)
---
diff --git a/tests/reftests/Makefile.am b/tests/reftests/Makefile.am
index 463a50b..b51a2d7 100644
--- a/tests/reftests/Makefile.am
+++ b/tests/reftests/Makefile.am
@@ -270,6 +270,8 @@ EXTRA_DIST += \
unresolvable.ref.ui \
unresolvable.ui \
window-border-width.ref.ui \
- window-border-width.ui
+ window-border-width.ui \
+ window-default-size.ref.ui \
+ window-default-size.ui
-include $(top_srcdir)/git.mk
diff --git a/tests/reftests/window-default-size.ref.ui b/tests/reftests/window-default-size.ref.ui
new file mode 100644
index 0000000..9e6f6d9
--- /dev/null
+++ b/tests/reftests/window-default-size.ref.ui
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<interface>
+ <!-- interface-requires gtk+ 3.0 -->
+ <object class="GtkWindow" id="window1">
+ <property name="width_request">103</property>
+ <property name="height_request">97</property>
+ <property name="can_focus">False</property>
+ <property name="type">popup</property>
+ <child>
+ <placeholder/>
+ </child>
+ </object>
+</interface>
diff --git a/tests/reftests/window-default-size.ui b/tests/reftests/window-default-size.ui
new file mode 100644
index 0000000..2dff8cd
--- /dev/null
+++ b/tests/reftests/window-default-size.ui
@@ -0,0 +1,13 @@
+<?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>
+ <property name="default_width">103</property>
+ <property name="default_height">97</property>
+ <child>
+ <placeholder/>
+ </child>
+ </object>
+</interface>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]