db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fuzzylo...@apache.org
Subject svn commit: r394815 - in /db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests: master/ master/DerbyNet/ master/DerbyNetClient/ master/j9_13/ master/j9_22/ tests/jdbcapi/
Date Tue, 18 Apr 2006 00:03:00 GMT
Author: fuzzylogic
Date: Mon Apr 17 17:02:59 2006
New Revision: 394815

URL: http://svn.apache.org/viewcvs?rev=394815&view=rev
Log:
DERBY-1121: remove redundant check for DERBY-618 in checkDriver.out so the
test will run in a remote server configuration.

Committed for Deepa Remesh <dremesh@gmail.com>

Modified:
    db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/master/DerbyNet/checkDriver.out
    db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/master/DerbyNetClient/checkDriver.out
    db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/master/checkDriver.out
    db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/master/j9_13/checkDriver.out
    db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/master/j9_22/checkDriver.out
    db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/checkDriver.java

Modified: db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/master/DerbyNet/checkDriver.out
URL: http://svn.apache.org/viewcvs/db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/master/DerbyNet/checkDriver.out?rev=394815&r1=394814&r2=394815&view=diff
==============================================================================
--- db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/master/DerbyNet/checkDriver.out
(original)
+++ db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/master/DerbyNet/checkDriver.out
Mon Apr 17 17:02:59 2006
@@ -11,4 +11,3 @@
 getUserName() = tester
 CURRENT SCHEMA = TESTER
 PASSED:Connection Successful with url: jdbc:derby:net://xxxFILTERED_HOSTNAMExxx:1527/db name
with spaces;create=true
-testDbNameWithSpaces PASSED - Database created successfully

Modified: db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/master/DerbyNetClient/checkDriver.out
URL: http://svn.apache.org/viewcvs/db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/master/DerbyNetClient/checkDriver.out?rev=394815&r1=394814&r2=394815&view=diff
==============================================================================
--- db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/master/DerbyNetClient/checkDriver.out
(original)
+++ db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/master/DerbyNetClient/checkDriver.out
Mon Apr 17 17:02:59 2006
@@ -57,4 +57,3 @@
 getUserName() = APP
 CURRENT SCHEMA = APP
 PASSED:Connection Successful with url: jdbc:derby://xxxFILTERED_HOSTNAMExxx:1527/db name
with spaces;create=true
-testDbNameWithSpaces PASSED - Database created successfully

Modified: db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/master/checkDriver.out
URL: http://svn.apache.org/viewcvs/db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/master/checkDriver.out?rev=394815&r1=394814&r2=394815&view=diff
==============================================================================
--- db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/master/checkDriver.out
(original)
+++ db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/master/checkDriver.out
Mon Apr 17 17:02:59 2006
@@ -37,4 +37,3 @@
 getUserName() = APP
 CURRENT SCHEMA = APP
 PASSED:Connection Successful with url: jdbc:derby:db name with spaces;create=true
-testDbNameWithSpaces PASSED - Database created successfully

Modified: db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/master/j9_13/checkDriver.out
URL: http://svn.apache.org/viewcvs/db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/master/j9_13/checkDriver.out?rev=394815&r1=394814&r2=394815&view=diff
==============================================================================
--- db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/master/j9_13/checkDriver.out
(original)
+++ db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/master/j9_13/checkDriver.out
Mon Apr 17 17:02:59 2006
@@ -37,4 +37,3 @@
 getUserName() = APP
 CURRENT SCHEMA = APP
 PASSED:Connection Successful with url: jdbc:derby:db name with spaces;create=true
-testDbNameWithSpaces PASSED - Database created successfully

Modified: db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/master/j9_22/checkDriver.out
URL: http://svn.apache.org/viewcvs/db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/master/j9_22/checkDriver.out?rev=394815&r1=394814&r2=394815&view=diff
==============================================================================
--- db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/master/j9_22/checkDriver.out
(original)
+++ db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/master/j9_22/checkDriver.out
Mon Apr 17 17:02:59 2006
@@ -37,4 +37,3 @@
 getUserName() = APP
 CURRENT SCHEMA = APP
 PASSED:Connection Successful with url: jdbc:derby:db name with spaces;create=true
-testDbNameWithSpaces PASSED - Database created successfully

Modified: db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/checkDriver.java
URL: http://svn.apache.org/viewcvs/db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/checkDriver.java?rev=394815&r1=394814&r2=394815&view=diff
==============================================================================
--- db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/checkDriver.java
(original)
+++ db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/checkDriver.java
Mon Apr 17 17:02:59 2006
@@ -398,8 +398,11 @@
 	 * the first occurence of space separator. Hence the database which gets 
 	 * created is wrong. e.g, if we specified database name as 
 	 * "db name with spaces", the database that got created by client driver 
-	 * was "db", which was wrong. The URL returned by call to 
-	 * conn.getMetaData().getURL() was also wrong.      
+	 * was "db", which was wrong. We can check this by checking the correct URL
+	 * is returned by call to conn.getMetaData().getURL(). This is currently 
+	 * checked inside the testConnect method. We do not explicilty check the 
+	 * database directory creation since this check fails in remote server 
+	 * testing.       
 	 * 
 	 * @param driver
 	 * @throws SQLException
@@ -426,14 +429,6 @@
 		conn = testConnect(driver, url, info);
 		if(conn != null)
 			System.out.println("PASSED:Connection Successful with url: " + url );
-		
-		// Check that the specified database (with spaces) is created
-		File file = new File(DERBY_SYSTEM_HOME + File.separator + DB_NAME_WITH_SPACES);
-		if(file.exists())
-			System.out.println("testDbNameWithSpaces PASSED - Database created successfully");
-		else
-			System.out.println("testDbNameWithSpaces FAILED - Database not created correctly");
-		
 	}
 	
 	/**



Mime
View raw message