[gtk+] tests: omit fg-color and bg-color values from attributes



commit 98a11cedf0336cc5476996341a0bfb38049a2234
Author: Benjamin Otte <otte redhat com>
Date:   Mon Jun 20 14:22:49 2011 +0200

    tests: omit fg-color and bg-color values from attributes
    
    They depend on the environment, too.

 tests/a11y/accessibile-name.txt |    4 +-
 tests/a11y/accessibility-dump.c |    2 +
 tests/a11y/accessible-name.txt  |    4 +-
 tests/a11y/buttons.txt          |   16 ++++++------
 tests/a11y/hello-world.txt      |    4 +-
 tests/a11y/link.txt             |    4 +-
 tests/a11y/mnemonic.txt         |    8 +++---
 tests/a11y/notebook.txt         |   16 ++++++------
 tests/a11y/range.txt            |    4 +-
 tests/a11y/text.txt             |    4 +-
 tests/a11y/tree.txt             |   48 +++++++++++++++++++-------------------
 11 files changed, 58 insertions(+), 56 deletions(-)
---
diff --git a/tests/a11y/accessibile-name.txt b/tests/a11y/accessibile-name.txt
index a4d122e..27d9076 100644
--- a/tests/a11y/accessibile-name.txt
+++ b/tests/a11y/accessibile-name.txt
@@ -28,8 +28,8 @@ window1
                         strikethrough: false
                         bg-stipple: false
                         fg-stipple: false
-                        fg-color: 0,0,0
-                        bg-color: 56540,56026,54741
+                        fg-color: <omitted>
+                        bg-color: <omitted>
                         wrap-mode: word
                         justification: left
                         size: <omitted>
diff --git a/tests/a11y/accessibility-dump.c b/tests/a11y/accessibility-dump.c
index a57c5b7..27e3b07 100644
--- a/tests/a11y/accessibility-dump.c
+++ b/tests/a11y/accessibility-dump.c
@@ -249,6 +249,8 @@ dump_text_attributes (GString         *string,
           strcmp (attr->name, "variant") == 0 ||
           strcmp (attr->name, "style") == 0 ||
           strcmp (attr->name, "language") == 0 ||
+          strcmp (attr->name, "fg-color") == 0 ||
+          strcmp (attr->name, "bg-color") == 0 ||
           strcmp (attr->name, "direction") == 0)
         value = "<omitted>";
       else
diff --git a/tests/a11y/accessible-name.txt b/tests/a11y/accessible-name.txt
index 964ece9..368797f 100644
--- a/tests/a11y/accessible-name.txt
+++ b/tests/a11y/accessible-name.txt
@@ -35,8 +35,8 @@ window1
                         strikethrough: false
                         bg-stipple: false
                         fg-stipple: false
-                        fg-color: 0,0,0
-                        bg-color: 56540,56026,54741
+                        fg-color: <omitted>
+                        bg-color: <omitted>
                         wrap-mode: word
                         justification: left
                         size: <omitted>
diff --git a/tests/a11y/buttons.txt b/tests/a11y/buttons.txt
index 75f2774..e1873ff 100644
--- a/tests/a11y/buttons.txt
+++ b/tests/a11y/buttons.txt
@@ -61,8 +61,8 @@ window1
                           strikethrough: false
                           bg-stipple: false
                           fg-stipple: false
-                          fg-color: 0,0,0
-                          bg-color: 56540,56026,54741
+                          fg-color: <omitted>
+                          bg-color: <omitted>
                           wrap-mode: word
                           justification: left
                           size: <omitted>
@@ -111,8 +111,8 @@ window1
                           strikethrough: false
                           bg-stipple: false
                           fg-stipple: false
-                          fg-color: 0,0,0
-                          bg-color: 56540,56026,54741
+                          fg-color: <omitted>
+                          bg-color: <omitted>
                           wrap-mode: word
                           justification: left
                           size: <omitted>
@@ -159,8 +159,8 @@ window1
                           strikethrough: false
                           bg-stipple: false
                           fg-stipple: false
-                          fg-color: 0,0,0
-                          bg-color: 56540,56026,54741
+                          fg-color: <omitted>
+                          bg-color: <omitted>
                           wrap-mode: word
                           justification: left
                           size: <omitted>
@@ -207,8 +207,8 @@ window1
                           strikethrough: false
                           bg-stipple: false
                           fg-stipple: false
-                          fg-color: 0,0,0
-                          bg-color: 56540,56026,54741
+                          fg-color: <omitted>
+                          bg-color: <omitted>
                           wrap-mode: word
                           justification: left
                           size: <omitted>
diff --git a/tests/a11y/hello-world.txt b/tests/a11y/hello-world.txt
index 9cf3ddf..61f72cf 100644
--- a/tests/a11y/hello-world.txt
+++ b/tests/a11y/hello-world.txt
@@ -35,8 +35,8 @@ window1
                         strikethrough: false
                         bg-stipple: false
                         fg-stipple: false
-                        fg-color: 0,0,0
-                        bg-color: 56540,56026,54741
+                        fg-color: <omitted>
+                        bg-color: <omitted>
                         wrap-mode: word
                         justification: left
                         size: <omitted>
diff --git a/tests/a11y/link.txt b/tests/a11y/link.txt
index 17dc2cd..faf5bdd 100644
--- a/tests/a11y/link.txt
+++ b/tests/a11y/link.txt
@@ -35,8 +35,8 @@ window1
                         strikethrough: false
                         bg-stipple: false
                         fg-stipple: false
-                        fg-color: 0,0,0
-                        bg-color: 56540,56026,54741
+                        fg-color: <omitted>
+                        bg-color: <omitted>
                         wrap-mode: word
                         justification: left
                         size: <omitted>
diff --git a/tests/a11y/mnemonic.txt b/tests/a11y/mnemonic.txt
index 4a867b4..34ad30e 100644
--- a/tests/a11y/mnemonic.txt
+++ b/tests/a11y/mnemonic.txt
@@ -45,8 +45,8 @@ window1
                           strikethrough: false
                           bg-stipple: false
                           fg-stipple: false
-                          fg-color: 0,0,0
-                          bg-color: 56540,56026,54741
+                          fg-color: <omitted>
+                          bg-color: <omitted>
                           wrap-mode: word
                           justification: left
                           size: <omitted>
@@ -86,8 +86,8 @@ window1
                           strikethrough: false
                           bg-stipple: false
                           fg-stipple: false
-                          fg-color: 0,0,0
-                          bg-color: 65535,65535,65535
+                          fg-color: <omitted>
+                          bg-color: <omitted>
                           wrap-mode: word
                           justification: left
                           size: <omitted>
diff --git a/tests/a11y/notebook.txt b/tests/a11y/notebook.txt
index 5220541..232013b 100644
--- a/tests/a11y/notebook.txt
+++ b/tests/a11y/notebook.txt
@@ -46,8 +46,8 @@ window1
                           strikethrough: false
                           bg-stipple: false
                           fg-stipple: false
-                          fg-color: 0,0,0
-                          bg-color: 56540,56026,54741
+                          fg-color: <omitted>
+                          bg-color: <omitted>
                           wrap-mode: word
                           justification: left
                           size: <omitted>
@@ -86,8 +86,8 @@ window1
                             strikethrough: false
                             bg-stipple: false
                             fg-stipple: false
-                            fg-color: 0,0,0
-                            bg-color: 56540,56026,54741
+                            fg-color: <omitted>
+                            bg-color: <omitted>
                             wrap-mode: word
                             justification: left
                             size: <omitted>
@@ -134,8 +134,8 @@ window1
                           strikethrough: false
                           bg-stipple: false
                           fg-stipple: false
-                          fg-color: 0,0,0
-                          bg-color: 56540,56026,54741
+                          fg-color: <omitted>
+                          bg-color: <omitted>
                           wrap-mode: word
                           justification: left
                           size: <omitted>
@@ -174,8 +174,8 @@ window1
                             strikethrough: false
                             bg-stipple: false
                             fg-stipple: false
-                            fg-color: 0,0,0
-                            bg-color: 56540,56026,54741
+                            fg-color: <omitted>
+                            bg-color: <omitted>
                             wrap-mode: word
                             justification: left
                             size: <omitted>
diff --git a/tests/a11y/range.txt b/tests/a11y/range.txt
index 6f2065e..6274a37 100644
--- a/tests/a11y/range.txt
+++ b/tests/a11y/range.txt
@@ -34,8 +34,8 @@ window1
                         strikethrough: false
                         bg-stipple: false
                         fg-stipple: false
-                        fg-color: 0,0,0
-                        bg-color: 56540,56026,54741
+                        fg-color: <omitted>
+                        bg-color: <omitted>
                         wrap-mode: word
                         justification: left
                         size: <omitted>
diff --git a/tests/a11y/text.txt b/tests/a11y/text.txt
index 6d3bf45..2a9086f 100644
--- a/tests/a11y/text.txt
+++ b/tests/a11y/text.txt
@@ -29,8 +29,8 @@ Did gyre and gimple in the wabe
                         rise: 0
                         language: <omitted>
                         scale: 1
-                        fg-color: 0,0,0
-                        bg-color: 65535,65535,65535
+                        fg-color: <omitted>
+                        bg-color: <omitted>
                         invalid: none
                         invalid: false
                         invalid: false
diff --git a/tests/a11y/tree.txt b/tests/a11y/tree.txt
index 85cd493..988089c 100644
--- a/tests/a11y/tree.txt
+++ b/tests/a11y/tree.txt
@@ -53,8 +53,8 @@ window1
                           strikethrough: false
                           bg-stipple: false
                           fg-stipple: false
-                          fg-color: 0,0,0
-                          bg-color: 56540,56026,54741
+                          fg-color: <omitted>
+                          bg-color: <omitted>
                           wrap-mode: word
                           justification: left
                           size: <omitted>
@@ -103,8 +103,8 @@ window1
                           strikethrough: false
                           bg-stipple: false
                           fg-stipple: false
-                          fg-color: 0,0,0
-                          bg-color: 56540,56026,54741
+                          fg-color: <omitted>
+                          bg-color: <omitted>
                           wrap-mode: word
                           justification: left
                           size: <omitted>
@@ -151,8 +151,8 @@ window1
                           strikethrough: false
                           bg-stipple: false
                           fg-stipple: false
-                          fg-color: 0,0,0
-                          bg-color: 56540,56026,54741
+                          fg-color: <omitted>
+                          bg-color: <omitted>
                           wrap-mode: word
                           justification: left
                           size: <omitted>
@@ -199,8 +199,8 @@ window1
                           strikethrough: false
                           bg-stipple: false
                           fg-stipple: false
-                          fg-color: 0,0,0
-                          bg-color: 56540,56026,54741
+                          fg-color: <omitted>
+                          bg-color: <omitted>
                           wrap-mode: word
                           justification: left
                           size: <omitted>
@@ -246,8 +246,8 @@ window1
                           strikethrough: false
                           bg-stipple: false
                           fg-stipple: false
-                          fg-color: 0,0,0
-                          bg-color: 56540,56026,54741
+                          fg-color: <omitted>
+                          bg-color: <omitted>
                           wrap-mode: word
                           justification: left
                           size: <omitted>
@@ -289,8 +289,8 @@ window1
                           strikethrough: false
                           bg-stipple: false
                           fg-stipple: false
-                          fg-color: 0,0,0
-                          bg-color: 56540,56026,54741
+                          fg-color: <omitted>
+                          bg-color: <omitted>
                           wrap-mode: word
                           justification: left
                           size: <omitted>
@@ -332,8 +332,8 @@ window1
                           strikethrough: false
                           bg-stipple: false
                           fg-stipple: false
-                          fg-color: 0,0,0
-                          bg-color: 56540,56026,54741
+                          fg-color: <omitted>
+                          bg-color: <omitted>
                           wrap-mode: word
                           justification: left
                           size: <omitted>
@@ -375,8 +375,8 @@ window1
                           strikethrough: false
                           bg-stipple: false
                           fg-stipple: false
-                          fg-color: 0,0,0
-                          bg-color: 56540,56026,54741
+                          fg-color: <omitted>
+                          bg-color: <omitted>
                           wrap-mode: word
                           justification: left
                           size: <omitted>
@@ -418,8 +418,8 @@ window1
                           strikethrough: false
                           bg-stipple: false
                           fg-stipple: false
-                          fg-color: 0,0,0
-                          bg-color: 56540,56026,54741
+                          fg-color: <omitted>
+                          bg-color: <omitted>
                           wrap-mode: word
                           justification: left
                           size: <omitted>
@@ -461,8 +461,8 @@ window1
                           strikethrough: false
                           bg-stipple: false
                           fg-stipple: false
-                          fg-color: 0,0,0
-                          bg-color: 56540,56026,54741
+                          fg-color: <omitted>
+                          bg-color: <omitted>
                           wrap-mode: word
                           justification: left
                           size: <omitted>
@@ -504,8 +504,8 @@ window1
                           strikethrough: false
                           bg-stipple: false
                           fg-stipple: false
-                          fg-color: 0,0,0
-                          bg-color: 56540,56026,54741
+                          fg-color: <omitted>
+                          bg-color: <omitted>
                           wrap-mode: word
                           justification: left
                           size: <omitted>
@@ -547,8 +547,8 @@ window1
                           strikethrough: false
                           bg-stipple: false
                           fg-stipple: false
-                          fg-color: 0,0,0
-                          bg-color: 56540,56026,54741
+                          fg-color: <omitted>
+                          bg-color: <omitted>
                           wrap-mode: word
                           justification: left
                           size: <omitted>



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