db-jdo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From m..@apache.org
Subject svn commit: r395620 - /db/jdo/branches/2.0/tck20/src/java/org/apache/jdo/tck/query/api/SetterReplacePreviousValues.java
Date Thu, 20 Apr 2006 15:40:02 GMT
Author: mbo
Date: Thu Apr 20 08:40:00 2006
New Revision: 395620

URL: http://svn.apache.org/viewcvs?rev=395620&view=rev
Log:
JDO-370: fix invalid query in SetterReplacePreviousValues test case

Modified:
    db/jdo/branches/2.0/tck20/src/java/org/apache/jdo/tck/query/api/SetterReplacePreviousValues.java

Modified: db/jdo/branches/2.0/tck20/src/java/org/apache/jdo/tck/query/api/SetterReplacePreviousValues.java
URL: http://svn.apache.org/viewcvs/db/jdo/branches/2.0/tck20/src/java/org/apache/jdo/tck/query/api/SetterReplacePreviousValues.java?rev=395620&r1=395619&r2=395620&view=diff
==============================================================================
--- db/jdo/branches/2.0/tck20/src/java/org/apache/jdo/tck/query/api/SetterReplacePreviousValues.java
(original)
+++ db/jdo/branches/2.0/tck20/src/java/org/apache/jdo/tck/query/api/SetterReplacePreviousValues.java
Thu Apr 20 08:40:00 2006
@@ -73,7 +73,7 @@
         /*EXCLUDE*/     null,
         /*WHERE*/       "personid == 1L",
         /*VARIABLES*/   null,
-        /*PARAMETERS*/  "String x",
+        /*PARAMETERS*/  null,
         /*IMPORTS*/     null,
         /*GROUP BY*/    null,
         /*ORDER BY*/    null,
@@ -136,22 +136,22 @@
         query = VALID_QUERIES[index].getAPIQuery(getPM());
         query.setFilter("personid == 2L");
         executeJDOQuery(ASSERTION_FAILED, query, VALID_QUERIES[index].toString(), false,

-                parameters, expectedResult[index], true);
+                null, expectedResult[index], true);
         query = VALID_QUERIES[index].getSingleStringQuery(getPM());
         query.setFilter("personid == 2L");
         executeJDOQuery(ASSERTION_FAILED, query, VALID_QUERIES[index].toString(), false,

-                parameters, expectedResult[index], true);
+                null, expectedResult[index], true);
         
         // replace variable declaration
         index++;
         query = VALID_QUERIES[index].getAPIQuery(getPM());
         query.declareVariables("Employee e");
         executeJDOQuery(ASSERTION_FAILED, query, VALID_QUERIES[index].toString(), false,

-                parameters, expectedResult[index], true);
+                null, expectedResult[index], true);
         query = VALID_QUERIES[index].getSingleStringQuery(getPM());
         query.declareVariables("Employee e");
         executeJDOQuery(ASSERTION_FAILED, query, VALID_QUERIES[index].toString(), false,

-                parameters, expectedResult[index], true);
+                null, expectedResult[index], true);
     }
     
     /**



Mime
View raw message