[antlr-interest] gUnit problem
Brent Yates
brent.yates at gmail.com
Sun May 18 16:29:56 PDT 2008
I am attempting to use gUnit for the first time and can't seem to get it
working.
I am using the the latest intermediate build of Antlr (antlr-2008-05-07.18)
and the most recent gUnit (gunit-1.0.2.jar). I am attempting to run the
examples from the Wiki page (
http://www.antlr.org/wiki/display/ANTLR3/gUnit+-+Grammar+Unit+Testing). I
can run ANTLR on the LL-star grammar and it compiles properly. However,
when I run gUnit with the example testsuite I get the following output:
-----------------------------------------------------------------------
<title> with <num_of_test> tests
-----------------------------------------------------------------------
<num_of_failure> failures found:
<failure:{<it.header>
expected: <it.expected>
actual: <it.actual>
}>
<if(has_invalid)>
<num_of_invalid> invalid inputs found:
<invalid:{<it.header>
invalid input: <it.actual>
}>
<endif>
Tests run: <num_of_test>, Failures: <num_of_failure>
Is this a Java problem? I am not an experienced Java programmer so I could
have classpath issues (even though everything seems to run ok).
Thanks for the help!
Brent Yates
brent.yates at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20080518/f7f0e42f/attachment.html
More information about the antlr-interest
mailing list