diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2008-05-01 20:40:34 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2008-05-01 20:40:34 +0000 |
commit | a7c8ab91210e368b8b2f23e1d79d42ad1b364560 (patch) | |
tree | cd4732b2b347a8f322e89b8033fba1560d8180fe /test/data | |
parent | 338a7fea57fbe7114870c0c48805652df716a0b4 (diff) | |
download | libcss-a7c8ab91210e368b8b2f23e1d79d42ad1b364560.tar.gz libcss-a7c8ab91210e368b8b2f23e1d79d42ad1b364560.tar.bz2 |
Testdriver for automated lexer tests. This needs a little more work to verify that the data contained within emitted tokens is as expected.
Very trivial testdata to exercise this.
svn path=/trunk/libcss/; revision=4115
Diffstat (limited to 'test/data')
-rw-r--r-- | test/data/lex/INDEX | 5 | ||||
-rw-r--r-- | test/data/lex/tests1.dat | 8 |
2 files changed, 13 insertions, 0 deletions
diff --git a/test/data/lex/INDEX b/test/data/lex/INDEX new file mode 100644 index 0000000..f6008ae --- /dev/null +++ b/test/data/lex/INDEX @@ -0,0 +1,5 @@ +# Index file for automated lexer tests +# +# Test Description + +tests1.dat Basic tests diff --git a/test/data/lex/tests1.dat b/test/data/lex/tests1.dat new file mode 100644 index 0000000..3b6b149 --- /dev/null +++ b/test/data/lex/tests1.dat @@ -0,0 +1,8 @@ +#data +body +#expected +IDENT:body +S +EOF +#reset + |