db-jdo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michelle Caisse (JIRA)" <j...@apache.org>
Subject [jira] Closed: (JDO-197) In equality comparisons, use equals() of expected value not persistent object
Date Thu, 03 Nov 2005 18:21:02 GMT
     [ http://issues.apache.org/jira/browse/JDO-197?page=all ]
     
Michelle Caisse closed JDO-197:
-------------------------------

    Resolution: Fixed

revision 330596

Also changed variable names for clarity: var to actual and compareWith to expected.

> In equality comparisons, use equals() of expected value not persistent object
> -----------------------------------------------------------------------------
>
>          Key: JDO-197
>          URL: http://issues.apache.org/jira/browse/JDO-197
>      Project: JDO
>         Type: Bug
>   Components: tck20
>     Reporter: Michelle Caisse
>     Assignee: Michelle Caisse
>     Priority: Minor

>
> In testing values of persistent instances against an object containing the expected value,
use the equals() method of the expected value to avoid introducing a test of the equals()
implementation of the persistent class, which is not relevant to the test.  This issue applies
to the fieldtypes.Collections tests .

-- 
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


Mime
View raw message