[gtk+] testsuite: Add test for latest commit



commit aeac92a49745d0a89f825d2bddc72be26f7afc57
Author: Benjamin Otte <otte redhat com>
Date:   Mon Jun 16 22:20:08 2014 +0200

    testsuite: Add test for latest commit

 testsuite/css/parser/Makefile.am                  |    3 +++
 testsuite/css/parser/property-name-errors.css     |    4 ++++
 testsuite/css/parser/property-name-errors.errors  |    2 ++
 3 files changed, 9 insertions(+), 0 deletions(-)
---
diff --git a/testsuite/css/parser/Makefile.am b/testsuite/css/parser/Makefile.am
index ec55162..5e05779 100644
--- a/testsuite/css/parser/Makefile.am
+++ b/testsuite/css/parser/Makefile.am
@@ -320,6 +320,9 @@ test_data = \
        no-semicolon.ref.css \
        nth-child.css \
        nth-child.ref.css \
+       property-name-errors.css \
+       property-name-errors.errors \
+       property-name-errors.ref.css \
        pseudo-classes-unknown.css \
        pseudo-classes-unknown.errors \
        pseudo-classes-unknown.ref.css \
diff --git a/testsuite/css/parser/property-name-errors.css b/testsuite/css/parser/property-name-errors.css
new file mode 100644
index 0000000..b95ff30
--- /dev/null
+++ b/testsuite/css/parser/property-name-errors.css
@@ -0,0 +1,4 @@
+* {
+  nonexisting-property: something;
+  -gtk-nonexisting-property: "something else";
+}
diff --git a/testsuite/css/parser/property-name-errors.errors 
b/testsuite/css/parser/property-name-errors.errors
new file mode 100644
index 0000000..5d5c4d0
--- /dev/null
+++ b/testsuite/css/parser/property-name-errors.errors
@@ -0,0 +1,2 @@
+property-name-errors.css:2: error: GTK_CSS_PROVIDER_ERROR_NAME
+property-name-errors.css:3: error: GTK_CSS_PROVIDER_ERROR_NAME
diff --git a/testsuite/css/parser/property-name-errors.ref.css 
b/testsuite/css/parser/property-name-errors.ref.css
new file mode 100644
index 0000000..e69de29


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