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] Resolved: (JDO-579) Assertions have parameters swapped
Date Fri, 14 Mar 2008 16:48:24 GMT

     [ https://issues.apache.org/jira/browse/JDO-579?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Michelle Caisse resolved JDO-579.
---------------------------------

    Resolution: Fixed

Completed: At revision: 637156  


> Assertions have parameters swapped
> ----------------------------------
>
>                 Key: JDO-579
>                 URL: https://issues.apache.org/jira/browse/JDO-579
>             Project: JDO
>          Issue Type: Bug
>          Components: tck2, tck2-legacy
>    Affects Versions: JDO 2 maintenance release 1
>            Reporter: Craig Russell
>            Assignee: Michelle Caisse
>             Fix For: JDO 2 maintenance release 1
>
>
> I noticed that some of the tests recently checked in swap the "expected" and "actual"
values, e.g. in Jdoconfig.java,
>     public void checkPersistent(String name) {
>         assertEquals("Incorrect PMF name", pmf.getName(), name);
> The signature of assertEquals is 
> public static void assertEquals(java.lang.String message,
>                                 java.lang.String expected,
>                                 java.lang.String actual)
> I didn't check too far, but these need to be fixed for the benefit of those whose implementation
doesn't actually work.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message