summaryrefslogtreecommitdiff
path: root/tests/reftests
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2011-05-28 00:16:31 +0200
committerBenjamin Otte <otte@redhat.com>2011-06-02 02:03:51 +0200
commitbdb8c64dd0ae1f92591642a317bb04934519a9fc (patch)
treed19331c3cfce0d44e3017ce3b8a7d86dfe7d69de /tests/reftests
parentbe71ea611b4ec8348f160770281d3b56373565ba (diff)
downloadgtk+-bdb8c64dd0ae1f92591642a317bb04934519a9fc.tar.gz
reftests: Add a reftest setting all colors to "none"
Diffstat (limited to 'tests/reftests')
-rw-r--r--tests/reftests/Makefile.am3
-rw-r--r--tests/reftests/no-colors.css7
-rw-r--r--tests/reftests/no-colors.ref.ui15
-rw-r--r--tests/reftests/no-colors.ui15
4 files changed, 40 insertions, 0 deletions
diff --git a/tests/reftests/Makefile.am b/tests/reftests/Makefile.am
index 8209a4de48..761d29490d 100644
--- a/tests/reftests/Makefile.am
+++ b/tests/reftests/Makefile.am
@@ -92,6 +92,9 @@ EXTRA_DIST += \
misc-alignment.css \
misc-alignment.ui \
misc-alignment.ref.ui \
+ no-colors.css \
+ no-colors.ref.ui \
+ no-colors.ui \
nonresizable-size.ref.ui \
nonresizable-size.ui \
paned-undersized.css \
diff --git a/tests/reftests/no-colors.css b/tests/reftests/no-colors.css
new file mode 100644
index 0000000000..da899757f2
--- /dev/null
+++ b/tests/reftests/no-colors.css
@@ -0,0 +1,7 @@
+* {
+ background-color: none;
+ color: none;
+ border-color: none;
+ border-style: solid;
+ border-width: 1;
+}
diff --git a/tests/reftests/no-colors.ref.ui b/tests/reftests/no-colors.ref.ui
new file mode 100644
index 0000000000..696d4d4491
--- /dev/null
+++ b/tests/reftests/no-colors.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">no colors for you</property>
+ </object>
+ </child>
+ </object>
+</interface>
diff --git a/tests/reftests/no-colors.ui b/tests/reftests/no-colors.ui
new file mode 100644
index 0000000000..696d4d4491
--- /dev/null
+++ b/tests/reftests/no-colors.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">no colors for you</property>
+ </object>
+ </child>
+ </object>
+</interface>