Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
JDO 2 maintenance release 1 (2.1)
-
None
Description
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.