You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-commits@db.apache.org by ma...@apache.org on 2007/07/06 04:49:24 UTC

svn commit: r553704 - /db/derby/code/branches/10.3/java/testing/org/apache/derbyTesting/functionTests/tests/lang/CollationTest2.java

Author: mamta
Date: Thu Jul  5 19:49:23 2007
New Revision: 553704

URL: http://svn.apache.org/viewvc?view=rev&rev=553704
Log:
Merging change 553703 from main into 10.3.1.1 codeline. The commit comments from main
DERBY-2777

A trivial change to CollationTest2 test. Rather than relying on the number of rows in SYSCOLUMNS for the test validity,
I am changing it so that no rows get selected from the LIKE test. This is so that over the time, if we end up changing
the SYSCOLUMNS so that it will have more rows than what we have in the codeline today, we won't have to go and fix the
test.


Modified:
    db/derby/code/branches/10.3/java/testing/org/apache/derbyTesting/functionTests/tests/lang/CollationTest2.java

Modified: db/derby/code/branches/10.3/java/testing/org/apache/derbyTesting/functionTests/tests/lang/CollationTest2.java
URL: http://svn.apache.org/viewvc/db/derby/code/branches/10.3/java/testing/org/apache/derbyTesting/functionTests/tests/lang/CollationTest2.java?view=diff&rev=553704&r1=553703&r2=553704
==============================================================================
--- db/derby/code/branches/10.3/java/testing/org/apache/derbyTesting/functionTests/tests/lang/CollationTest2.java (original)
+++ db/derby/code/branches/10.3/java/testing/org/apache/derbyTesting/functionTests/tests/lang/CollationTest2.java Thu Jul  5 19:49:23 2007
@@ -1537,8 +1537,8 @@
                     new String[] {"nonmatchiing"}, 1, null, true);
             checkParamQuery(
                     conn, zero_row_syscat_query_param3, 
-                    new String[] {"nonmatching", "nonmatching"}, 2, 
-                    new String[][] {{"124"}}, true);
+                    new String[] {"nonmatching", "matching"}, 2, 
+                    new String[][] {{"0"}}, true);
         }
         else
         {
@@ -1552,8 +1552,8 @@
                     new String[] {"nonmatchiing"}, 1, null, true);
             checkParamQuery(
                     conn, zero_row_syscat_query_param3, 
-                    new String[] {"nonmatching", "nonmatching"}, 2, 
-                    new String[][] {{"124"}}, true);
+                    new String[] {"nonmatching", "123"}, 2, 
+                    new String[][] {{"0"}}, true);
         }
 
         dropLikeTable(conn);