db-jdo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bra...@apache.org
Subject svn commit: r349712 - in /incubator/jdo/trunk/tck20/test: conf/alltests.conf java/org/apache/jdo/tck/query/result/DistinctCandidateInstances.java java/org/apache/jdo/tck/query/result/DistintCandidateInstances.java
Date Tue, 29 Nov 2005 12:35:57 GMT
Author: brazil
Date: Tue Nov 29 04:35:49 2005
New Revision: 349712

URL: http://svn.apache.org/viewcvs?rev=349712&view=rev
Log:
JDO-226: DistintCandidateInstances.testCollectionQueries typo.

Added:
    incubator/jdo/trunk/tck20/test/java/org/apache/jdo/tck/query/result/DistinctCandidateInstances.java
      - copied, changed from r349692, incubator/jdo/trunk/tck20/test/java/org/apache/jdo/tck/query/result/DistintCandidateInstances.java
Removed:
    incubator/jdo/trunk/tck20/test/java/org/apache/jdo/tck/query/result/DistintCandidateInstances.java
Modified:
    incubator/jdo/trunk/tck20/test/conf/alltests.conf

Modified: incubator/jdo/trunk/tck20/test/conf/alltests.conf
URL: http://svn.apache.org/viewcvs/incubator/jdo/trunk/tck20/test/conf/alltests.conf?rev=349712&r1=349711&r2=349712&view=diff
==============================================================================
--- incubator/jdo/trunk/tck20/test/conf/alltests.conf (original)
+++ incubator/jdo/trunk/tck20/test/conf/alltests.conf Tue Nov 29 04:35:49 2005
@@ -379,7 +379,7 @@
 org.apache.jdo.tck.query.result.AggregateResult \
 org.apache.jdo.tck.query.result.DefaultResult \
 org.apache.jdo.tck.query.result.DefaultUnique \
-org.apache.jdo.tck.query.result.DistintCandidateInstances \
+org.apache.jdo.tck.query.result.DistinctCandidateInstances \
 org.apache.jdo.tck.query.result.DistinctQuery \
 org.apache.jdo.tck.query.result.Grouping \
 org.apache.jdo.tck.query.result.Having \

Copied: incubator/jdo/trunk/tck20/test/java/org/apache/jdo/tck/query/result/DistinctCandidateInstances.java
(from r349692, incubator/jdo/trunk/tck20/test/java/org/apache/jdo/tck/query/result/DistintCandidateInstances.java)
URL: http://svn.apache.org/viewcvs/incubator/jdo/trunk/tck20/test/java/org/apache/jdo/tck/query/result/DistinctCandidateInstances.java?p2=incubator/jdo/trunk/tck20/test/java/org/apache/jdo/tck/query/result/DistinctCandidateInstances.java&p1=incubator/jdo/trunk/tck20/test/java/org/apache/jdo/tck/query/result/DistintCandidateInstances.java&r1=349692&r2=349712&rev=349712&view=diff
==============================================================================
--- incubator/jdo/trunk/tck20/test/java/org/apache/jdo/tck/query/result/DistintCandidateInstances.java
(original)
+++ incubator/jdo/trunk/tck20/test/java/org/apache/jdo/tck/query/result/DistinctCandidateInstances.java
Tue Nov 29 04:35:49 2005
@@ -30,7 +30,7 @@
 import org.apache.jdo.tck.util.BatchTestRunner;
 
 /**
- *<B>Title:</B> Disctinct Query.
+ *<B>Title:</B> Distinct Candidate Instances.
  *<BR>
  *<B>Keywords:</B> query
  *<BR>
@@ -43,7 +43,7 @@
  * the distinct keyword removes duplicates from the candidate collection 
  * in this case.
  */
-public class DistintCandidateInstances extends QueryTest {
+public class DistinctCandidateInstances extends QueryTest {
 
     /** */
     private static final String ASSERTION_FAILED = 
@@ -90,7 +90,7 @@
     private Object[] expectedResult = {
         addAll(getCompanyModelInstancesAsList(new String[]{
                 "emp1", "emp2", "emp3", "emp4", "emp5"}),
-               getCompanyModelInstancesAsList(new String[]{
+        getCompanyModelInstancesAsList(new String[]{
                 "emp1", "emp2", "emp3", "emp4", "emp5"})),
         getCompanyModelInstancesAsList(new String[]{
                 "emp1", "emp2", "emp3", "emp4", "emp5"})
@@ -102,7 +102,7 @@
      * @param args The arguments passed to the program.
      */
     public static void main(String[] args) {
-        BatchTestRunner.run(DistintCandidateInstances.class);
+        BatchTestRunner.run(DistinctCandidateInstances.class);
     }
     
     /** */
@@ -121,7 +121,7 @@
     public void testCollectionQueries() {
         String singleStringQuery = "SELECT FROM " + Person.class.getName();
         String singleStringDistinctQuery = 
-            "SELECT DISTNICT FROM " + Person.class.getName();
+            "SELECT DISTINCT FROM " + Person.class.getName();
         
         Query query = getPM().newQuery();
         query.setClass(Person.class);



Mime
View raw message