From aeac92a49745d0a89f825d2bddc72be26f7afc57 Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Mon, 16 Jun 2014 22:20:08 +0200 Subject: [PATCH] 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 ++ testsuite/css/parser/property-name-errors.ref.css | 0 4 files changed, 9 insertions(+) create mode 100644 testsuite/css/parser/property-name-errors.css create mode 100644 testsuite/css/parser/property-name-errors.errors create mode 100644 testsuite/css/parser/property-name-errors.ref.css diff --git a/testsuite/css/parser/Makefile.am b/testsuite/css/parser/Makefile.am index ec5516240d..5e0577932d 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 0000000000..b95ff30667 --- /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 0000000000..5d5c4d0647 --- /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 0000000000..e69de29bb2