db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From andre...@apache.org
Subject svn commit: r432569 - /db/derby/code/trunk/java/testing/org/apache/derbyTesting/junit/NetworkServerTestSetup.java
Date Fri, 18 Aug 2006 13:05:45 GMT
Author: andreask
Date: Fri Aug 18 06:05:45 2006
New Revision: 432569

URL: http://svn.apache.org/viewvc?rev=432569&view=rev
Log:
Fixed bug in setUp causing it to only start server when running in embedded mode. Removed
import of ..functionalTests.util package.

Modified:
    db/derby/code/trunk/java/testing/org/apache/derbyTesting/junit/NetworkServerTestSetup.java

Modified: db/derby/code/trunk/java/testing/org/apache/derbyTesting/junit/NetworkServerTestSetup.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/testing/org/apache/derbyTesting/junit/NetworkServerTestSetup.java?rev=432569&r1=432568&r2=432569&view=diff
==============================================================================
--- db/derby/code/trunk/java/testing/org/apache/derbyTesting/junit/NetworkServerTestSetup.java
(original)
+++ db/derby/code/trunk/java/testing/org/apache/derbyTesting/junit/NetworkServerTestSetup.java
Fri Aug 18 06:05:45 2006
@@ -25,10 +25,6 @@
 import junit.framework.Test;
 import org.apache.derby.drda.NetworkServerControl;
 
-// This import can be removed once junit classes are moved to this 
-// package:
-import org.apache.derbyTesting.functionTests.util.*;
-
 /**
  * Test decorator that starts the network server on startup
  * and stops it on teardown.
@@ -37,7 +33,7 @@
  * embedded mode.
  *
  * Currently it will start the network server in the same VM
- * as, and it does not support starting it from a remote 
+ * and it does not support starting it from a remote 
  * machine.
  */
 final public class NetworkServerTestSetup extends TestSetup {
@@ -57,7 +53,7 @@
      */
     protected void setUp() throws Exception {
         
-        if (config.getJDBCClient().isEmbedded()) {
+        if (!config.getJDBCClient().isEmbedded()) {
             BaseTestCase.println("Starting network server:");
             networkServerController = new NetworkServerControl
                 (InetAddress.getByName(config.getHostName()), config.getPort());



Mime
View raw message