db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From myrn...@apache.org
Subject svn commit: r661960 - in /db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi: LDAPAuthenticationTest.java _Suite.java
Date Sat, 31 May 2008 06:18:54 GMT
Author: myrnavl
Date: Fri May 30 23:18:54 2008
New Revision: 661960

URL: http://svn.apache.org/viewvc?rev=661960&view=rev
Log:
DERBY-3659; add XAJNDITest to jdbcapi/_Suite and rename text fixture in 
  LDAPAuthenticationTest so it's a more meaningful name

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

Modified: db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/LDAPAuthenticationTest.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/LDAPAuthenticationTest.java?rev=661960&r1=661959&r2=661960&view=diff
==============================================================================
--- db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/LDAPAuthenticationTest.java
(original)
+++ db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/LDAPAuthenticationTest.java
Fri May 30 23:18:54 2008
@@ -107,9 +107,10 @@
                 "-DderbyTesting.dnString=myJNDIstring");
 
         TestSuite suite = new TestSuite("LDAPAuthenticationTest");
-        suite.addTest(baseSuite("LDAPAuthenticationTest:embedded", "testConnection"));
+        suite.addTest(baseSuite("LDAPAuthenticationTest:embedded",
+            "testLDAPConnection"));
         suite.addTest(TestConfiguration.clientServerDecorator(
-                baseSuite("LDAPAuthenticationTest:client", "testConnection")));
+            baseSuite("LDAPAuthenticationTest:client", "testLDAPConnection")));
         Test test = decorateWithPolicy(suite);
         return test;            
     }
@@ -201,7 +202,7 @@
         return value;
     }    
      
-    public void testConnection() throws SQLException {
+    public void testLDAPConnection() throws SQLException {
         // setup 
         String dbName = TestConfiguration.getCurrent().getDefaultDatabaseName();
         DataSource ds = JDBCDataSource.getDataSource();

Modified: db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/_Suite.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/_Suite.java?rev=661960&r1=661959&r2=661960&view=diff
==============================================================================
--- db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/_Suite.java
(original)
+++ db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/_Suite.java
Fri May 30 23:18:54 2008
@@ -149,6 +149,7 @@
             else
                 suite.addTest(LDAPAuthenticationTest.suite());
             suite.addTest(InvalidLDAPServerAuthenticationTest.suite());
+            suite.addTest(XAJNDITest.suite());
         }
 
         return suite;



Mime
View raw message