Newsgroups: comp.compilers.tools.javacc
From: Cesare Zecca <Cesare.Zecca.p...@gmail.com>
Date: Wed, 30 Apr 2008 06:57:22 -0700 (PDT)
Local: Wed, Apr 30 2008 9:57 am
Subject: Unit tests for JavaCC tokens and productions: InvocationTargetException ?
In
http://groups.google.com/group/comp.compilers.tools.javacc/browse_thr... Date: Fri, 24 Aug 2007 07:44:08 -0400 AC wrote: http://groups.google.com/group/comp.compilers.tools.javacc/msg/205986... > Here's a sample showing another approach to writing unit tests for [...] > JavaCC tokens and productions. > Hope this helps! All that worked excellently. I was able to test a given specific production by mean of the public public A few days ago I integrated JTB, cleaned up the grammar by the Java void o - <FIELD_ACCESSOR> is the usual "." operator. I slightly updated the utest to allign the suite to the improved public void testIdRef() [1] assertNotNull( lGplProxy.runProductionRule( lMethodName, [1]: id would be syntactically correct except for the context (see At the test case [2] I noted that I get an InvocationTargetException static final public IdRef IdRef() throws ParseException { I regressed everything to the pre JTB integration version, as well, static final public void IdRef() throws ParseException { So, my deduction is void and I get, at [4] public void testTableElement() [4] assertNotNull( lGplProxy.applicaProduzione( lMethodName , again an InvocationTargetException, specifically at [4'] static final public void TableElement() throws ParseException { I think that a "regular" behaviour should raise either a "InvocationTargetException is a checked exception that wraps an That sound as a signal of danger: if so, I think that there is You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||