db-jdo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From m..@apache.org
Subject svn commit: r958269 - /db/jdo/trunk/tck/src/java/org/apache/jdo/tck/query/result/MethodsInResult.java
Date Sat, 26 Jun 2010 19:29:11 GMT
Author: mbo
Date: Sat Jun 26 19:29:11 2010
New Revision: 958269

URL: http://svn.apache.org/viewvc?rev=958269&view=rev
Log:
JDO-580: fix expected result of test cases testCollectionSizeInResult, testMapSizeInResult,
testMaxAndSizeInResult

Modified:
    db/jdo/trunk/tck/src/java/org/apache/jdo/tck/query/result/MethodsInResult.java

Modified: db/jdo/trunk/tck/src/java/org/apache/jdo/tck/query/result/MethodsInResult.java
URL: http://svn.apache.org/viewvc/db/jdo/trunk/tck/src/java/org/apache/jdo/tck/query/result/MethodsInResult.java?rev=958269&r1=958268&r2=958269&view=diff
==============================================================================
--- db/jdo/trunk/tck/src/java/org/apache/jdo/tck/query/result/MethodsInResult.java (original)
+++ db/jdo/trunk/tck/src/java/org/apache/jdo/tck/query/result/MethodsInResult.java Sat Jun
26 19:29:11 2010
@@ -152,11 +152,11 @@ public class MethodsInResult extends Que
      */
     private Object[] expectedResult = {
         // collection.size()
-        Arrays.asList(new Object[] { new Long(3), new Long(2) }),
+        Arrays.asList(new Object[] { new Integer(3), new Integer(2) }),
         // map.size()
-        Arrays.asList(new Object[] { new Long(2), new Long(2), new Long(2), new Long(2),
new Long(2) }),
+        Arrays.asList(new Object[] { new Integer(2), new Integer(2), new Integer(2), new
Integer(2), new Integer(2) }),
         // MAX(collection.size())
-        new Long(3),
+        new Integer(3),
         // map.get()
         Arrays.asList(new Object[] { "1111", "2222", "3333", "3343", "3363" }),
         // String.substring()



Mime
View raw message