db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From myrn...@apache.org
Subject svn commit: r496911 - /db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/derbynet/PrepareStatementTest.java
Date Wed, 17 Jan 2007 01:53:50 GMT
Author: myrnavl
Date: Tue Jan 16 17:53:49 2007
New Revision: 496911

URL: http://svn.apache.org/viewvc?view=rev&rev=496911
Log:
DERBY-2233 - test derbynet/PrepareStatementTest should not run with JSR169

Modified:
    db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/derbynet/PrepareStatementTest.java

Modified: db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/derbynet/PrepareStatementTest.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/derbynet/PrepareStatementTest.java?view=diff&rev=496911&r1=496910&r2=496911
==============================================================================
--- db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/derbynet/PrepareStatementTest.java
(original)
+++ db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/derbynet/PrepareStatementTest.java
Tue Jan 16 17:53:49 2007
@@ -69,8 +69,12 @@
      * run in both embedded and client/server.
      */
     public static Test suite()
-    {
-        return TestConfiguration.defaultSuite(PrepareStatementTest.class);
+    {	
+        if ( JDBC.vmSupportsJSR169())
+            // see DERBY-2233 for details
+            return new TestSuite("empty PrepareStatementTest - client not supported on JSR169");
+        else
+            return TestConfiguration.defaultSuite(PrepareStatementTest.class);
     }
 
 



Mime
View raw message