[gtk+/parser: 66/74] tests: Add test for recursively importing an identical file
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/parser: 66/74] tests: Add test for recursively importing an identical file
- Date: Mon, 9 May 2011 15:28:18 +0000 (UTC)
commit e08d9dc28c4e2fe4ed04909214edc74ac81ebfeb
Author: Benjamin Otte <otte redhat com>
Date: Tue Apr 12 04:28:30 2011 +0200
tests: Add test for recursively importing an identical file
tests/css/parser/Makefile.am | 3 +++
tests/css/parser/import-recursive.css | 5 +++++
tests/css/parser/import-recursive.errors | 1 +
tests/css/parser/import-recursive.ref.css | 3 +++
4 files changed, 12 insertions(+), 0 deletions(-)
---
diff --git a/tests/css/parser/Makefile.am b/tests/css/parser/Makefile.am
index b990872..c9e75eb 100644
--- a/tests/css/parser/Makefile.am
+++ b/tests/css/parser/Makefile.am
@@ -40,6 +40,9 @@ EXTRA_DIST += \
does-not-exist.css \
does-not-exist.errors \
does-not-exist.ref.css \
+ import-recursive.css \
+ import-recursive.errors \
+ import-recursive.ref.css \
integer.css \
integer.errors \
integer.ref.css \
diff --git a/tests/css/parser/import-recursive.css b/tests/css/parser/import-recursive.css
new file mode 100644
index 0000000..ac9c81e
--- /dev/null
+++ b/tests/css/parser/import-recursive.css
@@ -0,0 +1,5 @@
+ import url("import-recursive.css");
+
+a {
+ string-property: "Make sure this is parsed"
+}
diff --git a/tests/css/parser/import-recursive.errors b/tests/css/parser/import-recursive.errors
new file mode 100644
index 0000000..89ceef1
--- /dev/null
+++ b/tests/css/parser/import-recursive.errors
@@ -0,0 +1 @@
+import-recursive.css:1: error: GTK_CSS_PROVIDER_ERROR_IMPORT
diff --git a/tests/css/parser/import-recursive.ref.css b/tests/css/parser/import-recursive.ref.css
new file mode 100644
index 0000000..358a8c4
--- /dev/null
+++ b/tests/css/parser/import-recursive.ref.css
@@ -0,0 +1,3 @@
+a {
+ string-property: "Make sure this is parsed";
+}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]