[ http://issues.apache.org/jira/browse/JDO-218?page=comments#action_12358040 ]
Michelle Caisse commented on JDO-218: ------------------------------------- The code expects only BigDecimal keys. It is for the tests where the values are all String and the keys can be any of a number of types, specifically TestMapStringValueCollections, TestHashMapStringValueCollections, TestHashtableStringValueCollections, and TestTreeMapStringValueCollections. The checkValues() method in the Test*MapStringKeyCollections is different, but in those tests there would be only String keys. It would be great to be able to generalize this method and pull the code out of the fieldtypes tests, but it is tricky because the data type of the Collection appears in the test. There are also casting and polymorphism issues which vary among the Collection (not Map) tests when iterating through the BigDecimal fields and make this difficult. > checkValues() method of *MapStringValueCollections doesn't work > --------------------------------------------------------------- > > Key: JDO-218 > URL: http://issues.apache.org/jira/browse/JDO-218 > Project: JDO > Type: Bug > Components: tck20 > Reporter: Michelle Caisse > Assignee: Michelle Caisse > Attachments: JDO-218.patch > > No map fields with BigDecimal values compare okay. There are several > problems. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
