[gtk+] testsuite: Fix test that was committed in a broken state
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] testsuite: Fix test that was committed in a broken state
- Date: Mon, 1 Dec 2014 03:06:14 +0000 (UTC)
commit 7b6c68adc68389e7295f2fc9cf5b9799ee242a56
Author: Benjamin Otte <otte redhat com>
Date: Mon Dec 1 04:04:08 2014 +0100
testsuite: Fix test that was committed in a broken state
1) Use font-size instead of color
This makes it easier to compare reference and test because the values
don't change.
2) Actually sort the reference properly
This unbreaks the test.
testsuite/css/parser/not.css | 40 +++++++++++-----------
testsuite/css/parser/not.ref.css | 71 ++++++++++++++++++-------------------
2 files changed, 55 insertions(+), 56 deletions(-)
---
diff --git a/testsuite/css/parser/not.css b/testsuite/css/parser/not.css
index 59da972..e67c3f3 100644
--- a/testsuite/css/parser/not.css
+++ b/testsuite/css/parser/not.css
@@ -1,80 +1,80 @@
:not(*) {
- color: tomato;
+ font-size: 1px;
}
:not(GtkButton) {
- color: tomato;
+ font-size: 2px;
}
:not(:hover) {
- color: tomato;
+ font-size: 3px;
}
:not(.yourmom) {
- color: tomato;
+ font-size: 4px;
}
:not(#yourmom) {
- color: tomato;
+ font-size: 5px;
}
:not( *) {
- color: tomato;
+ font-size: 6px;
}
:not( GtkButton) {
- color: tomato;
+ font-size: 7px;
}
:not( :hover) {
- color: tomato;
+ font-size: 8px;
}
:not( .yourmom) {
- color: tomato;
+ font-size: 9px;
}
:not( #yourmom) {
- color: tomato;
+ font-size: 10px;
}
:not(* ) {
- color: tomato;
+ font-size: 11px;
}
:not(GtkButton ) {
- color: tomato;
+ font-size: 12px;
}
:not(:hover ) {
- color: tomato;
+ font-size: 13px;
}
:not(.yourmom ) {
- color: tomato;
+ font-size: 14px;
}
:not(#yourmom ) {
- color: tomato;
+ font-size: 15px;
}
:not( * ) {
- color: tomato;
+ font-size: 16px;
}
:not( GtkButton ) {
- color: tomato;
+ font-size: 17px;
}
:not( :hover ) {
- color: tomato;
+ font-size: 18px;
}
:not( .yourmom ) {
- color: tomato;
+ font-size: 19px;
}
:not( #yourmom ) {
- color: tomato;
+ font-size: 20px;
}
diff --git a/testsuite/css/parser/not.ref.css b/testsuite/css/parser/not.ref.css
index 7cb0fb3..c369a26 100644
--- a/testsuite/css/parser/not.ref.css
+++ b/testsuite/css/parser/not.ref.css
@@ -1,80 +1,79 @@
:not(*) {
- color: rgb(255,99,71);
+ font-size: 1px;
}
-:not(GtkButton) {
- color: rgb(255,99,71);
+:not(*) {
+ font-size: 6px;
}
-:not(:hover) {
- color: rgb(255,99,71);
+:not(*) {
+ font-size: 11px;
}
-:not(.yourmom) {
- color: rgb(255,99,71);
+:not(*) {
+ font-size: 16px;
}
-:not(#yourmom) {
- color: rgb(255,99,71);
+:not(GtkButton) {
+ font-size: 2px;
}
-:not(*) {
- color: rgb(255,99,71);
+:not(GtkButton) {
+ font-size: 7px;
}
:not(GtkButton) {
- color: rgb(255,99,71);
+ font-size: 12px;
}
-:not(:hover) {
- color: rgb(255,99,71);
+:not(GtkButton) {
+ font-size: 17px;
}
-:not(.yourmom) {
- color: rgb(255,99,71);
+:not(:hover) {
+ font-size: 3px;
}
-:not(#yourmom) {
- color: rgb(255,99,71);
+:not(.yourmom) {
+ font-size: 4px;
}
-:not(*) {
- color: rgb(255,99,71);
+:not(:hover) {
+ font-size: 8px;
}
-:not(GtkButton) {
- color: rgb(255,99,71);
+:not(.yourmom) {
+ font-size: 9px;
}
:not(:hover) {
- color: rgb(255,99,71);
+ font-size: 13px;
}
:not(.yourmom) {
- color: rgb(255,99,71);
+ font-size: 14px;
}
-:not(#yourmom) {
- color: rgb(255,99,71);
+:not(:hover) {
+ font-size: 18px;
}
-:not(*) {
- color: rgb(255,99,71);
+:not(.yourmom) {
+ font-size: 19px;
}
-:not(GtkButton) {
- color: rgb(255,99,71);
+:not(#yourmom) {
+ font-size: 5px;
}
-:not(:hover) {
- color: rgb(255,99,71);
+:not(#yourmom) {
+ font-size: 10px;
}
-:not(.yourmom) {
- color: rgb(255,99,71);
+:not(#yourmom) {
+ font-size: 15px;
}
:not(#yourmom) {
- color: rgb(255,99,71);
+ font-size: 20px;
}
-
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]