[antlr-interest] gUnit problem
向雅
fyaoxy at gmail.com
Sun May 18 19:09:56 PDT 2008
I ever faced it.
when gunit meet a newer version StringTemplate.
Seems the template file format is the problem.
I try to clear the gunit template file's content, and add part content of
it, add run it. At last, I add full content of origin file, It's OK.
not deep it.
I tried antlr-5-5 build with StringTemplate 3.1.
Regards,
Qinxian
2008/5/19 Brent Yates <brent.yates at gmail.com>:
> 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/20080519/edfa2e80/attachment.html
More information about the antlr-interest
mailing list