Re: Getting MDR 4.0 working with TCK
Brian Topping <[email protected]> Tue, 26 Oct 2004 06:48:36 -0400
| Newsgroups | gmane.comp.java.netbeans.modules.mdr.devel |
|---|---|
| Message-ID | <[email protected]> |
Hmm, I also found this after searching around, maybe it is more concise: #Test Results (version 2) #Tue Oct 26 06:43:55 EDT 2004 #checksum:277453fe809824ca #-----testdescription----- $file=C:\\dev\\jmitck\\tests\\modelsem\\AttributeTests\\InstanceAttributes\\GeneratedInterfaces\\TD.html $root=C:\\dev\\jmitck\\tests attrParentType1=com.tst.simplemodel.Owner1 attrParentType2=com.tst.simplemodel.Owner2 attrTypeName=com.tst.simplemodel.Child complexAttrInitializers=some string getMethodName1=getChildAttr getMethodName2=getChildAttr id=Child_1-1_setShared keywords=compile metamodel=com.tst.SimpleModel parentCreator1=com.tst.CreateOwner1 parentCreator2=com.tst.CreateOwner2 repId=SimpleModel/attrTest setException2=javax.jmi.reflect.CompositionViolationException setMethodName1=setChildAttr setMethodName2=setChildAttr source=../../../com/tst/CreateOwner1.java ../../../com/tst/CreateOwner2.java testType=svAttrComposition title=Child (a RefObject subype) attribute 1:1 shared by two attributes #-----environment----- #-----testresult----- description=file:///C:/dev/jmitck/tests/modelsem/AttributeTests/InstanceAttributes/GeneratedInterfaces/TD.html#Child_1-1_setShared end=Tue Oct 26 06:43:55 EDT 2004 environment=old4 execStatus=Failed. Value returned by second owner com.tst.simplemodel.Owner2 using method getChildAttr is not equal to the initial attribute value (operation not completed due to caught javax.jmi.reflect.CompositionViolationException) javatestOS=Windows XP 5.1 (x86) javatestVersion=3.0.2 script=com.sun.jmitck.modelsem.JmiModelSemanticsScript sections=script_messages start=Tue Oct 26 06:43:54 EDT 2004 test=modelsem/AttributeTests/InstanceAttributes/GeneratedInterfaces/TD.html#Child_1-1_setShared timeoutSeconds=600 work=C:\\dev\\jmitck\\new\\modelsem\\AttributeTests\\InstanceAttributes\\GeneratedInterfaces #section:script_messages ----------messages:(11/1108)---------- Executing method getChildAttr on an instance of com.tst.simplemodel.Owner2$Impl with 0 arguments Before attribute of second instance is set, initial value of attribute is Child$Impl ID: .:0000000000000782 MID: .:000000000000071D OPCKG: .:000000000000075B Executing method setChildAttr on an instance of com.tst.simplemodel.Owner1$Impl with 1 arguments arg[0] => id=.:0000000000000784 : SimpleModel.Child Executing method setChildAttr on an instance of com.tst.simplemodel.Owner2$Impl with 1 arguments arg[0] => id=.:0000000000000784 : SimpleModel.Child Expecting the method to throw exception javax.jmi.reflect.CompositionViolationException Method setChildAttr threw a javax.jmi.reflect.CompositionViolationException with message: null Expected exception javax.jmi.reflect.CompositionViolationException caught Executing method getChildAttr on an instance of com.tst.simplemodel.Owner2$Impl with 0 arguments The attribute of a com.tst.simplemodel.Owner2 has the value Child$Impl ID: .:0000000000000784 MID: .:000000000000071D OPCKG: .:000000000000075B accessed using method getChildAttr test result: Failed. Value returned by second owner com.tst.simplemodel.Owner2 using method getChildAttr is not equal to the initial attribute value (operation not completed due to caught javax.jmi.reflect.CompositionViolationException)