[antlr-interest] gUnit problem

Terence Parr parrt at cs.usfca.edu
Sun May 18 18:08:02 PDT 2008


Hi. Looks like a version issue with StringTemplate.  Maybe you have an  
older version of ST in your path?

If you run java -v option it should show you which classes are being  
loaded as you try to run gunit.

Ter
On May 18, 2008, at 4:29 PM, Brent Yates wrote:

> 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/5c8ffbc2/attachment.html 


More information about the antlr-interest mailing list