[antlr-interest] gunit FAIL

timo.dufour at thomson.com timo.dufour at thomson.com
Mon Apr 14 06:34:59 PDT 2008


I encountered a problem using gUnit. When more then one of my tests is
expected to FAIL, only the first one will return FAIL, the others return
OK. Even if I just repeat the testcase twice. E.g.:

Treatment:

            "(TREATMENT NORMA)" FAIL

"(TREATMENT NORMA)" FAIL

 

first test:           passes

second test:      junit.framework.AssertionFailedError: testing rule
treatmentrule expected:<FAIL> but was:<OK>

 

I use gunit-1.0.1.jar with antlr-3.0.1.jar, so maybe this is already
fixed in gunit-1.0.2

 

Timo

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20080414/655728be/attachment.html 


More information about the antlr-interest mailing list