db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mi...@apache.org
Subject svn commit: r1574618 - /db/derby/code/branches/10.10/java/testing/org/apache/derbyTesting/functionTests/tests/lang/_Suite.java
Date Wed, 05 Mar 2014 18:52:58 GMT
Author: mikem
Date: Wed Mar  5 18:52:58 2014
New Revision: 1574618

URL: http://svn.apache.org/r1574618
Log:
DERBY-896 Cast date to timestamp results in "ERROR 42846: Cannot convert types 'DATE' to 'TIMESTAMP'."

10.10 test does not run on jsr169 as it needs following interface not avaliable
in jsr169:
replace(CharSequence target, CharSequence replacement)

For now just changing tests to not run this test in jsr169, and will
file separate JIRA to change this test to run in jsr169.


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

Modified: db/derby/code/branches/10.10/java/testing/org/apache/derbyTesting/functionTests/tests/lang/_Suite.java
URL: http://svn.apache.org/viewvc/db/derby/code/branches/10.10/java/testing/org/apache/derbyTesting/functionTests/tests/lang/_Suite.java?rev=1574618&r1=1574617&r2=1574618&view=diff
==============================================================================
--- db/derby/code/branches/10.10/java/testing/org/apache/derbyTesting/functionTests/tests/lang/_Suite.java
(original)
+++ db/derby/code/branches/10.10/java/testing/org/apache/derbyTesting/functionTests/tests/lang/_Suite.java
Wed Mar  5 18:52:58 2014
@@ -103,7 +103,6 @@ public class _Suite extends BaseTestCase
         suite.addTest(UpdatableResultSetTest.suite());
         suite.addTest(CurrentOfTest.suite());
 	    suite.addTest(CursorTest.suite());
-        suite.addTest(CastingTest.suite());
         suite.addTest(ScrollCursors2Test.suite());
         suite.addTest(NullIfTest.suite());
         suite.addTest(InListMultiProbeTest.suite());
@@ -198,8 +197,12 @@ public class _Suite extends BaseTestCase
             // requires Java 5 (generics)
             suite.addTest(UserDefinedAggregatesTest.suite());
             suite.addTest(UDAPermsTest.suite());
+
+            // requires replace(CharSequence target, CharSequence replacement)
+            suite.addTest(CastingTest.suite());
         }
-         // tests that require Java 6
+
+        // tests that require Java 6
         if (JDBC.vmSupportsJDBC4())  
         {
             suite.addTest(OptionalToolsTest.suite());



Mime
View raw message