]> Pileus Git - ~andy/gtk/commitdiff
reftests: Add a reftest setting all colors to "none"
authorBenjamin Otte <otte@redhat.com>
Fri, 27 May 2011 22:16:31 +0000 (00:16 +0200)
committerBenjamin Otte <otte@redhat.com>
Thu, 2 Jun 2011 00:03:51 +0000 (02:03 +0200)
tests/reftests/Makefile.am
tests/reftests/no-colors.css [new file with mode: 0644]
tests/reftests/no-colors.ref.ui [new file with mode: 0644]
tests/reftests/no-colors.ui [new file with mode: 0644]

index 8209a4de48752948a6a23d588c78348a6a039b89..761d29490d57cf14f56fa0858ddb7fb79dcf19c0 100644 (file)
@@ -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 (file)
index 0000000..da89975
--- /dev/null
@@ -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 (file)
index 0000000..696d4d4
--- /dev/null
@@ -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 (file)
index 0000000..696d4d4
--- /dev/null
@@ -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>