gtk2/tests/css/parser
Benjamin Otte 7ccb9db79e css: Rewrite the parser
Instead of relying on GScanner and its idea of syntax, code up a parser
that obeys the CSS spec.
This also has the great side effect of reporting correct line numbers
and positions.

Also included is a reorganization of the returned error values. Instead
of error values describing what type of syntax error was returned, the
code just returns SYNTAX_ERROR. Other messages exist for when actual
values don't work or when errors shouldn't be fatal due to backwards
compatibility.
2011-05-18 22:17:55 +02:00
..
boolean.css tests: Add test for booleans to CSS tests 2011-05-18 21:58:44 +02:00
boolean.errors css: Rewrite the parser 2011-05-18 22:17:55 +02:00
boolean.ref.css tests: Add test for booleans to CSS tests 2011-05-18 21:58:44 +02:00
border.css tests: Add a test for border parsing 2011-05-18 21:58:45 +02:00
border.errors css: Rewrite the parser 2011-05-18 22:17:55 +02:00
border.ref.css tests: Add a test for border parsing 2011-05-18 21:58:45 +02:00
close-at-end-of-file.css tests: Add test for auto-closing at end of file 2011-05-18 21:58:43 +02:00
close-at-end-of-file.errors tests: (Try to) print the actual enum value in the errors file 2011-05-18 21:58:44 +02:00
close-at-end-of-file.ref.css tests: Add test for auto-closing at end of file 2011-05-18 21:58:43 +02:00
declarations.css tests: Add new test checking weird behavior for declarations 2011-05-18 21:58:44 +02:00
declarations.errors tests: Add new test checking weird behavior for declarations 2011-05-18 21:58:44 +02:00
declarations.ref.css tests: Add new test checking weird behavior for declarations 2011-05-18 21:58:44 +02:00
does-not-exist.errors css: Rewrite the parser 2011-05-18 22:17:55 +02:00
import-cyclic-1.css tests: Add tests for cyclic imports 2011-05-18 21:58:47 +02:00
import-cyclic-1.errors tests: Add tests for cyclic imports 2011-05-18 21:58:47 +02:00
import-cyclic-1.ref.css tests: Add tests for cyclic imports 2011-05-18 21:58:47 +02:00
import-cyclic-2.css tests: Add tests for cyclic imports 2011-05-18 21:58:47 +02:00
import-cyclic-2.errors tests: Add tests for cyclic imports 2011-05-18 21:58:47 +02:00
import-cyclic-2.ref.css tests: Add tests for cyclic imports 2011-05-18 21:58:47 +02:00
import-cyclic-3.css tests: Add tests for cyclic imports 2011-05-18 21:58:47 +02:00
import-cyclic-3.errors tests: Add tests for cyclic imports 2011-05-18 21:58:47 +02:00
import-cyclic-3.ref.css tests: Add tests for cyclic imports 2011-05-18 21:58:47 +02:00
import-nonexistant.css tests: Add a test for importing nonexistant files 2011-05-18 21:58:47 +02:00
import-nonexistant.errors tests: Add a test for importing nonexistant files 2011-05-18 21:58:47 +02:00
import-nonexistant.ref.css tests: Add a test for importing nonexistant files 2011-05-18 21:58:47 +02:00
import-recursive.css tests: Add test for recursively importing an identical file 2011-05-18 21:58:46 +02:00
import-recursive.errors tests: Add test for recursively importing an identical file 2011-05-18 21:58:46 +02:00
import-recursive.ref.css tests: Add test for recursively importing an identical file 2011-05-18 21:58:46 +02:00
integer.css tests: Add CSS integer parsing tests 2011-05-18 21:58:44 +02:00
integer.errors css: Rewrite the parser 2011-05-18 22:17:55 +02:00
integer.ref.css tests: Add CSS integer parsing tests 2011-05-18 21:58:44 +02:00
Makefile.am tests: Add a test for importing nonexistant files 2011-05-18 21:58:47 +02:00
no-semicolon.css tests: Add CSS test checking that we don't need a semicolon 2011-05-18 21:58:43 +02:00
no-semicolon.ref.css tests: Add CSS test checking that we don't need a semicolon 2011-05-18 21:58:43 +02:00
test-css-parser.c tests: Order files by name before adding them as tests 2011-05-18 21:58:46 +02:00