From a7c8ab91210e368b8b2f23e1d79d42ad1b364560 Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Thu, 1 May 2008 20:40:34 +0000 Subject: 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 --- test/data/lex/INDEX | 5 +++++ test/data/lex/tests1.dat | 8 ++++++++ 2 files changed, 13 insertions(+) create mode 100644 test/data/lex/INDEX create mode 100644 test/data/lex/tests1.dat (limited to 'test/data/lex') 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 + -- cgit v1.2.3