[gtk+/nth-child: 30/33] reftests: Add a reftest setting all colors to "none"



commit f67bbf69f10522b4f28a4b22b66dc9ed752549b8
Author: Benjamin Otte <otte redhat com>
Date:   Sat May 28 00:16:31 2011 +0200

    reftests: Add a reftest setting all colors to "none"

 tests/reftests/Makefile.am      |    3 +++
 tests/reftests/no-colors.css    |    7 +++++++
 tests/reftests/no-colors.ref.ui |   15 +++++++++++++++
 tests/reftests/no-colors.ui     |   15 +++++++++++++++
 4 files changed, 40 insertions(+), 0 deletions(-)
---
diff --git a/tests/reftests/Makefile.am b/tests/reftests/Makefile.am
index 8209a4d..761d294 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 0000000..da89975
--- /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 0000000..696d4d4
--- /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 0000000..696d4d4
--- /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>



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