db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kahat...@apache.org
Subject svn commit: r423068 - /db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbc4/PreparedStatementTest.java
Date Tue, 18 Jul 2006 12:17:58 GMT
Author: kahatlen
Date: Tue Jul 18 05:17:58 2006
New Revision: 423068

URL: http://svn.apache.org/viewvc?rev=423068&view=rev
Log:
DERBY-1417 (partial) Add new, lengthless overloads to the streaming api

Disable five test cases in the DerbyNetClient framework. Patch
contributed by Kristian Waagan.

Modified:
    db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbc4/PreparedStatementTest.java

Modified: db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbc4/PreparedStatementTest.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbc4/PreparedStatementTest.java?rev=423068&r1=423067&r2=423068&view=diff
==============================================================================
--- db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbc4/PreparedStatementTest.java
(original)
+++ db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbc4/PreparedStatementTest.java
Tue Jul 18 05:17:58 2006
@@ -113,17 +113,19 @@
     public static Test suite() {
         TestSuite suite = new TestSuite();
         suite.addTestSuite(PreparedStatementTest.class);
-        // Add methods temorarily disabled for DerbyNetClient
-        suite.addTest(new PreparedStatementTest(
-                    "embonlytmptestSetClobLengthless"));
-        suite.addTest(new PreparedStatementTest(
-                    "embonlytmptestSetBlobLengthless"));
-        suite.addTest(new PreparedStatementTest(
-                    "embonlytmptestSetCharacterStreamLengthless"));
-        suite.addTest(new PreparedStatementTest(
-                    "embonlytmptestSetAsciiStreamLengthless"));
-        suite.addTest(new PreparedStatementTest(
-                    "embonlytmptestSetBinaryStreamLengthless"));
+        if (usingEmbedded()) {
+            // Add methods temporarily disabled for DerbyNetClient
+            suite.addTest(new PreparedStatementTest(
+                        "embonlytmptestSetClobLengthless"));
+            suite.addTest(new PreparedStatementTest(
+                        "embonlytmptestSetBlobLengthless"));
+            suite.addTest(new PreparedStatementTest(
+                        "embonlytmptestSetCharacterStreamLengthless"));
+            suite.addTest(new PreparedStatementTest(
+                        "embonlytmptestSetAsciiStreamLengthless"));
+            suite.addTest(new PreparedStatementTest(
+                        "embonlytmptestSetBinaryStreamLengthless"));
+        }
         suite.addTest(SetObjectUnsupportedTest.suite(false));
         return suite;
     }



Mime
View raw message