There is :
-
Test canUnderstand: result instead of catching the DNU
-
See in the private state of the entity if #fastBehaviouralEntity is defined
-
Or see if the class FASTEntity is defined
The second can be nice but the dictionary key should not change and it bypasses the implementation of fastBehaviouralEntity method.
Cheers,
Vincent
De : moose-dev-bounces@iam.unibe.ch [mailto:moose-dev-bounces@iam.unibe.ch]
De la part de Andrei Chis
Envoyé : lundi 5 octobre 2015 15:13
À : Moose-related development
Objet : [Moose-dev] Re: FAMIXJavaPrintVisitor missing
On Mon, Oct 5, 2015 at 2:52 PM, Blondeau Vincent <vincent.blondeau@worldline.com> wrote:
FAMIXJavaPrintVisitor can be moved to Famix-Extensions, and it will work in this package. If the DNU exception is caught, the tests are green.
That can also work.
But catching a DNU exception just to make the tests green seems strange.
Is there no other way to fix the functionality?
Cheers,
Andrei
It is not so dependent of FAST and it will be nice to integrate it correctly in the Moose image.
Cheers,
Vincent