Hi,

recently (I think that after the changes related to extents in MDR) I have some errors while executing the C++ module automated tests.

Some of the tests fail, others don't. I have some tests that are executed without errors consistently because (AFAIK) they are part of a certain TestCase class (for instance TestPersistencyWithNormalProfileCpp). An example where there are errors is in some of the fixtures of TestCppFileGeneration like the one bellow. Here I thought that this was caused by creating a class not contained in a model by using Model.getCoreFactory().buildClass("AClass"), but, after changing it, the exception just kicked in sooner!

javax.jmi.reflect.ClosureViolationException
at org.netbeans.mdr.storagemodel.StorableObject.setComposite(StorableObject.java:279) at org.netbeans.mdr.storagemodel.AssocEndIndexSet.add(AssocEndIndexSet.java:150) at org.netbeans.mdr.storagemodel.StorableAssociation.addLink(StorableAssociation.java:370) at org.netbeans.mdr.handlers.AssociationHandler._handleLocalAdd(AssociationHandler.java:161) at org.netbeans.mdr.handlers.AssociationHandler._handleAdd(AssociationHandler.java:150) at org.omg.uml.foundation.core.ANamespaceOwnedElement$Impl.add(Unknown Source) at org.omg.uml.foundation.core.ANamespaceOwnedElement$Impl._add(Unknown Source) at org.netbeans.mdr.handlers.InstanceHandler._handleSetR(InstanceHandler.java:149) at org.omg.uml.modelmanagement.UmlPackage$Impl.setNamespace(Unknown Source) at org.argouml.model.mdr.CoreHelperMDRImpl.setNamespace(CoreHelperMDRImpl.java:2929) at org.argouml.model.AbstractCoreHelperDecorator.setNamespace(AbstractCoreHelperDecorator.java:502) at org.argouml.model.mdr.UndoCoreHelperDecorator.setNamespace(UndoCoreHelperDecorator.java:704) at org.argouml.language.cpp.generator.TestCppFileGeneration.setUpNamespaces(TestCppFileGeneration.java:304) at org.argouml.language.cpp.generator.TestCppFileGeneration.testLocalIncludes(TestCppFileGeneration.java:403)
(...) --> Eclipse and JUnit part of the stack trace.

Regards,

Luís




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to