[gtk+] tests: Add test for latest bugfix



commit 861a0311324ea33e80cecf03b33b18453e78216f
Author: Benjamin Otte <otte redhat com>
Date:   Fri Oct 12 17:45:11 2012 +0200

    tests: Add test for latest bugfix

 tests/css/parser/Makefile.am                       |    3 +++
 tests/css/parser/background-position-errors.css    |    3 +++
 tests/css/parser/background-position-errors.errors |    1 +
 3 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/tests/css/parser/Makefile.am b/tests/css/parser/Makefile.am
index 8576429..404ad40 100644
--- a/tests/css/parser/Makefile.am
+++ b/tests/css/parser/Makefile.am
@@ -152,6 +152,9 @@ EXTRA_DIST += \
 	background-position.css \
 	background-position.errors \
 	background-position.ref.css \
+	background-position-errors.css \
+	background-position-errors.errors \
+	background-position-errors.ref.css \
 	background-repeat.css \
 	background-repeat.ref.css \
 	background-shorthand.css \
diff --git a/tests/css/parser/background-position-errors.css b/tests/css/parser/background-position-errors.css
new file mode 100644
index 0000000..e92bc3b
--- /dev/null
+++ b/tests/css/parser/background-position-errors.css
@@ -0,0 +1,3 @@
+a {
+  background-position: auto;
+}
diff --git a/tests/css/parser/background-position-errors.errors b/tests/css/parser/background-position-errors.errors
new file mode 100644
index 0000000..3322629
--- /dev/null
+++ b/tests/css/parser/background-position-errors.errors
@@ -0,0 +1 @@
+background-position-errors.css:2: error: GTK_CSS_PROVIDER_ERROR_SYNTAX
diff --git a/tests/css/parser/background-position-errors.ref.css b/tests/css/parser/background-position-errors.ref.css
new file mode 100644
index 0000000..e69de29



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