[antlr-interest] gUnit-to-jUnit and gUnit-maven problem.
nikolaz at ukr.net
nikolaz at ukr.net
Tue Jul 21 05:16:52 PDT 2009
Good afternoon!
There is a problem with gUnit-to-jUnit code generation. Some generated tests breaks with exception. (The same problem is when gUnit is executed through maven)
Here is a simple example (also in attachments):
http://rapidshare.com/files/258306953/gUnit.zip.html
It consists of grammar and gUnit test. When test is executed by internal gUnit interpreter it runs fine. When test is converted to jUnit test or executed by maven, some tests breaks with InvalidInputException.
This problem is encounted only with some texts when input is wrong and "fail" result is expected, like this:
//------------------- supertypes
supertypes:
"> NS3:P at ar entType1, ns:parentype2" FAIL
In example archive there are two folders:
'maven' - is a Maven2 project showing test error;
'manual' - is a folder with the same grammar and gUnit test with readme how to manualy run test by gUnit interpreter. In this case tests are passed fine.
____________________________
WBR, Nikolay Zamosenchuk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20090721/322f592a/attachment-0001.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/zip
Size: 1792768 bytes
Desc: not available
Url : http://www.antlr.org/pipermail/antlr-interest/attachments/20090721/322f592a/attachment-0001.zip
More information about the antlr-interest
mailing list