[
http://issues.apache.org/jira/browse/JDO-144?page=comments#action_12330718 ]
Michelle Caisse commented on JDO-144:
-------------------------------------
The reporting problem has been solved. This test now gives, for both
application and datastore identity:
test(org.apache.jdo.tck.models.fieldtypes.TestCollectionCollections)junit.framework.AssertionFailedError:
Assertion A6.4.3-33 (TestCollectionCollections) failed:
Expected and observed do not match!!
For element 12, expected = [Wed Dec 31 16:33:27 PST 1969, Thu Jan 01 16:44:27
PST 1970, Sat Jan 10 23:24:33 PST 1970, Sat Jan 10 23:24:33 PST 1970, Sat Jan
10 23:24:33 PST 1970], actual = [Sat Jan 10 16:00:00 PST 1970,Thu Jan 01
16:00:00 PST 1970,Wed Dec 31 16:00:00 PST 1969] .
For element 13, expected = [Wed Dec 31 16:33:27 PST 1969, Thu Jan 01 16:44:27
PST 1970, Sat Jan 10 23:24:33 PST 1970, Sat Jan 10 23:24:33 PST 1970, Sat Jan
10 23:24:33 PST 1970], actual = [Sat Jan 10 16:00:00 PST 1970,Thu Jan 01
16:00:00 PST 1970,Wed Dec 31 16:00:00 PST 1969] .
For element 18, expected = [2007908.54548, 0.544, 3002323232.545454,
64564645656.78657, 4564565465.2342], actual =
[64564645656.786570,3002323232.545454,4564565465.234200,0.544000,2007908.545480]
.
For element 19, expected = [2007908.54548, 0.544, 3002323232.545454,
64564645656.78657, 4564565465.2342], actual =
[64564645656.786570,3002323232.545454,4564565465.234200,0.544000,2007908.545480]
.
For element 30, expected = [-1.0E12, 1.0E12, 1.0E12, 9.9999954E11,
9.9999941E11], actual = [1.0E12,-1.0E12,9.9999941E11,9.9999954E11] .
For element 31, expected = [-1.0E12, 1.0E12, 1.0E12, 9.9999954E11,
9.9999941E11], actual = [1.0E12,-1.0E12,9.9999941E11,9.9999954E11] .
For element 32, expected size = 5, actual size = 4 .
at org.apache.jdo.tck.JDO_Test.fail(JDO_Test.java:546)
at
org.apache.jdo.tck.models.fieldtypes.TestCollectionCollections.checkValues(TestCollectionCollections.java:154)
at
org.apache.jdo.tck.models.fieldtypes.TestCollectionCollections.runTest(TestCollectionCollections.java:100)
at
org.apache.jdo.tck.models.fieldtypes.TestCollectionCollections.test(TestCollectionCollections.java:70)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at org.apache.jdo.tck.JDO_Test.runBare(JDO_Test.java:204)
at
org.apache.jdo.tck.util.BatchTestRunner.start(BatchTestRunner.java:115)
at org.apache.jdo.tck.util.BatchTestRunner.main(BatchTestRunner.java:93)
> Incorrect value for public Collection CollectionOfDate12
> --------------------------------------------------------
>
> Key: JDO-144
> URL: http://issues.apache.org/jira/browse/JDO-144
> Project: JDO
> Type: Bug
> Components: tck20
> Reporter: Michelle Caisse
>
> [java] 1)
> test(org.apache.jdo.tck.models.fieldtypes.TestCollectionCollections)junit.framework.AssertionFailedError:
> Assertion A6.4.3-33 (TestCollectionCollections) failed:
> [java] Incorrect value for public Collection CollectionOfDate12
> [java] at org.apache.jdo.tck.JDO_Test.fail(JDO_Test.java:546)
> [java] at
> org.apache.jdo.tck.models.fieldtypes.TestCollectionCollections.checkValues(TestCollectionCollections.java:146)
> [java] at
> org.apache.jdo.tck.models.fieldtypes.TestCollectionCollections.runTest(TestCollectionCollections.java:104)
> [java] at
> org.apache.jdo.tck.models.fieldtypes.TestCollectionCollections.test(TestCollectionCollections.java:69)
> [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> [java] at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> [java] at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> [java] at org.apache.jdo.tck.JDO_Test.runBare(JDO_Test.java:204)
> [java] at
> org.apache.jdo.tck.util.BatchTestRunner.start(BatchTestRunner.java:115)
> [java] at
> org.apache.jdo.tck.util.BatchTestRunner.main(BatchTestRunner.java:93)
--
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