db-jdo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bra...@apache.org
Subject svn commit: r330795 - /incubator/jdo/trunk/tck20/test/java/org/apache/jdo/tck/query/jdoql/operators/Instanceof.java
Date Fri, 04 Nov 2005 11:22:25 GMT
Author: brazil
Date: Fri Nov  4 03:22:18 2005
New Revision: 330795

URL: http://svn.apache.org/viewcvs?rev=330795&view=rev
Log:
Bug fix in query test Instanceof: The expected result was incorrect and Java keyword 'import'
was specified in capitals.

Modified:
    incubator/jdo/trunk/tck20/test/java/org/apache/jdo/tck/query/jdoql/operators/Instanceof.java

Modified: incubator/jdo/trunk/tck20/test/java/org/apache/jdo/tck/query/jdoql/operators/Instanceof.java
URL: http://svn.apache.org/viewcvs/incubator/jdo/trunk/tck20/test/java/org/apache/jdo/tck/query/jdoql/operators/Instanceof.java?rev=330795&r1=330794&r2=330795&view=diff
==============================================================================
--- incubator/jdo/trunk/tck20/test/java/org/apache/jdo/tck/query/jdoql/operators/Instanceof.java
(original)
+++ incubator/jdo/trunk/tck20/test/java/org/apache/jdo/tck/query/jdoql/operators/Instanceof.java
Fri Nov  4 03:22:18 2005
@@ -65,11 +65,10 @@
         /*INTO*/        null, 
         /*FROM*/        Employee.class,
         /*EXCLUDE*/     null,
-        /*WHERE*/       "mentor instanceof " +
-                        "PartTimeEmployee",
+        /*WHERE*/       "mentor instanceof PartTimeEmployee",
         /*VARIABLES*/   null,
         /*PARAMETERS*/  null,
-        /*IMPORTS*/     "IMPORT org.apache.jdo.tck.pc.company.PartTimeEmployee",
+        /*IMPORTS*/     "import org.apache.jdo.tck.pc.company.PartTimeEmployee",
         /*GROUP BY*/    null,
         /*ORDER BY*/    null,
         /*FROM*/        null,
@@ -78,7 +77,8 @@
 
     /** The expected results of valid queries. */
     private static String[][] expectedResult = {
-            {"emp2", "emp3"}
+        {"emp3", "emp4"},
+        {"emp3", "emp4"}
     };
             
     /**



Mime
View raw message