db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From krist...@apache.org
Subject svn commit: r659166 - /db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/DatabaseMetaDataTest.java
Date Thu, 22 May 2008 17:26:07 GMT
Author: kristwaa
Date: Thu May 22 10:26:05 2008
New Revision: 659166

URL: http://svn.apache.org/viewvc?rev=659166&view=rev
Log:
DERBY-3685: weme 6.1 Base connection pooling suitejunit.framework.AssertionFailedError: java.lang.NullPointerException.
The test causing the failures will no longer be run in a JavaME environment.
Patch file: derby-3685-1a-disable_test_javame.diff

Modified:
    db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/DatabaseMetaDataTest.java

Modified: db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/DatabaseMetaDataTest.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/DatabaseMetaDataTest.java?rev=659166&r1=659165&r2=659166&view=diff
==============================================================================
--- db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/DatabaseMetaDataTest.java
(original)
+++ db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/DatabaseMetaDataTest.java
Thu May 22 10:26:05 2008
@@ -223,6 +223,11 @@
      * @return A suite of tests.
      */
     private static Test connectionPoolingSuite(String jdbcClient) {
+        // Return an empty suite if running in JavaME environment.
+        if (JDBC.vmSupportsJSR169()) {
+            return new TestSuite("Base connection pooling suite:DISABLED");
+        }
+
         TestSuite baseCpSuite = new TestSuite("Base connection pooling suite");
         // Add the tests here.
         baseCpSuite.addTest(new DatabaseMetaDataTest("testConnectionSpecific"));



Mime
View raw message