[gtk+/wip/css: 8/16] tests: Add test for last commit



commit 447430a1f14c64828bd2f2c252182eb45476b151
Author: Benjamin Otte <otte redhat com>
Date:   Thu Apr 19 17:05:22 2012 +0200

    tests: Add test for last commit

 tests/css/parser/Makefile.am                       |    3 +++
 .../css/parser/freed-string-in-error-messages.css  |    3 +++
 .../parser/freed-string-in-error-messages.errors   |    1 +
 3 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/tests/css/parser/Makefile.am b/tests/css/parser/Makefile.am
index 8f07998..c04a40d 100644
--- a/tests/css/parser/Makefile.am
+++ b/tests/css/parser/Makefile.am
@@ -278,6 +278,9 @@ EXTRA_DIST += \
 	font-family.css \
 	font-family.errors \
 	font-family.ref.css \
+	freed-string-in-error-messages.css \
+	freed-string-in-error-messages.errors \
+	freed-string-in-error-messages.ref.css \
 	import-cyclic-1.css \
 	import-cyclic-1.errors \
 	import-cyclic-1.ref.css \
diff --git a/tests/css/parser/freed-string-in-error-messages.css b/tests/css/parser/freed-string-in-error-messages.css
new file mode 100644
index 0000000..2885dd1
--- /dev/null
+++ b/tests/css/parser/freed-string-in-error-messages.css
@@ -0,0 +1,3 @@
+a {
+  border-image-slice: 21px 24px 22px 24px;
+}
diff --git a/tests/css/parser/freed-string-in-error-messages.errors b/tests/css/parser/freed-string-in-error-messages.errors
new file mode 100644
index 0000000..e48cf43
--- /dev/null
+++ b/tests/css/parser/freed-string-in-error-messages.errors
@@ -0,0 +1 @@
+freed-string-in-error-messages.css:2: error: GTK_CSS_PROVIDER_ERROR_SYNTAX
diff --git a/tests/css/parser/freed-string-in-error-messages.ref.css b/tests/css/parser/freed-string-in-error-messages.ref.css
new file mode 100644
index 0000000..e69de29



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