db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d..@apache.org
Subject svn commit: r427801 - in /db/derby/code/trunk/java: testing/org/apache/derbyTesting/functionTests/tests/lang/wisconsin.java tools/org/apache/derby/impl/tools/ij/utilMain.java
Date Tue, 01 Aug 2006 23:51:45 GMT
Author: djd
Date: Tue Aug  1 16:51:45 2006
New Revision: 427801

URL: http://svn.apache.org/viewvc?rev=427801&view=rev
Log:
DERBY-1609 (partial) Fix wisconsin.java test by initializing the connections for the utilMain
object.
Once wisconsin.java moves to using the new runScript the initConnections method will not be
required
by this test and can return to being packahe protected.

Modified:
    db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/wisconsin.java
    db/derby/code/trunk/java/tools/org/apache/derby/impl/tools/ij/utilMain.java

Modified: db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/wisconsin.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/wisconsin.java?rev=427801&r1=427800&r2=427801&view=diff
==============================================================================
--- db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/wisconsin.java
(original)
+++ db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/wisconsin.java
Tue Aug  1 16:51:45 2006
@@ -68,6 +68,7 @@
 		
 	
 		utilInstance = new utilMain(1, out, (Hashtable)null);
+        utilInstance.initConnections();
 		utilInstance.go(in, out, (java.util.Properties) null);
 		//log.flush();
 		out.flush();

Modified: db/derby/code/trunk/java/tools/org/apache/derby/impl/tools/ij/utilMain.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/tools/org/apache/derby/impl/tools/ij/utilMain.java?rev=427801&r1=427800&r2=427801&view=diff
==============================================================================
--- db/derby/code/trunk/java/tools/org/apache/derby/impl/tools/ij/utilMain.java (original)
+++ db/derby/code/trunk/java/tools/org/apache/derby/impl/tools/ij/utilMain.java Tue Aug  1
16:51:45 2006
@@ -158,7 +158,7 @@
 	 * Initialize the connections from the environment.
 	 *
 	 */
-	void initConnections()
+	public void initConnections()
 	{
 		for (int ictr = 0; ictr < numConnections; ictr++)
 		{



Mime
View raw message