Java Code Examples for org.apache.derbyTesting.junit.TestConfiguration#existingServerSuite()

The following examples show how to use org.apache.derbyTesting.junit.TestConfiguration#existingServerSuite() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: DestroySlaveDB.java    From gemfirexd-oss with Apache License 2.0 5 votes vote down vote up
/**
  * Adds this class to the *existing server* suite.
  */
 public static Test suite(String serverHost, int serverPort)
 {
     System.out.println("*** DestroySlaveDB.suite("+serverHost+","+serverPort+")");
     
     Test t = TestConfiguration.existingServerSuite(DestroySlaveDB.class,false,serverHost,serverPort);
     System.out.println("*** Done TestConfiguration.existingServerSuite(DestroySlaveDB.class,false,"
             +serverHost+","+serverPort+")");
     return t;
}
 
Example 2
Source File: SimplePerfTest.java    From gemfirexd-oss with Apache License 2.0 5 votes vote down vote up
/**
  * Adds this class to the *existing server* suite.
  */
 public static Test suite(String serverHost, int serverPort)
 {
     System.out.println("*** SimplePerfTest.suite(serverHost,serverPort)");
  
     Test t = TestConfiguration.existingServerSuite(SimplePerfTest.class,false,serverHost,serverPort);
     System.out.println("*** Done TestConfiguration.existingServerSuite(SimplePerfTest.class,false,serverHost,serverPort)");
     return t;
}
 
Example 3
Source File: TestPreInitSlave.java    From gemfirexd-oss with Apache License 2.0 5 votes vote down vote up
/**
  * Adds this class to the *existing server* suite.
  */
 public static Test suite(String serverHost, int serverPort)
 {
     System.out.println("*** TestPreInitSlave.suite(serverHost,serverPort)");
  
     Test t = TestConfiguration.existingServerSuite(TestPreInitSlave.class,false,serverHost,serverPort);
     System.out.println("*** Done TestConfiguration.existingServerSuite(TestPreInitSlave.class,false,serverHost,serverPort)");
     return t;
}
 
Example 4
Source File: ShutdownSlaveServer.java    From gemfirexd-oss with Apache License 2.0 5 votes vote down vote up
/**
 * Adds this class to the *existing server* suite.
 */
public static Test suite(String serverHost, int serverPort)
throws IOException
{
    System.out.println("*** ShutdownSlaveServer.suite("+serverHost+","+serverPort+")");
    
    Test t = TestConfiguration.existingServerSuite(ShutdownSlaveServer.class,false,serverHost,serverPort);
    System.out.println("*** Done TestConfiguration.existingServerSuite(ShutdownSlaveServer.class,false,"
            +serverHost+":"+serverPort+")");
    return t;
}
 
Example 5
Source File: TestPreStoppedMasterServer.java    From gemfirexd-oss with Apache License 2.0 5 votes vote down vote up
/**
  * Adds this class to the *existing server* suite.
  */
 public static Test suite(String serverHost, int serverPort)
 {
     System.out.println("*** TestPreStoppedMasterServer.suite(serverHost,serverPort)");
  
     Test t = TestConfiguration.existingServerSuite(TestPreStoppedMasterServer.class,false,serverHost,serverPort);
     System.out.println("*** Done TestConfiguration.existingServerSuite(TestPreStoppedMasterServer.class,false,serverHost,serverPort)");
     return t;
}
 
Example 6
Source File: ShutdownSlaveServerByOsKill.java    From gemfirexd-oss with Apache License 2.0 5 votes vote down vote up
/**
 * Adds this class to the *existing server* suite.
 */
public static Test suite(String serverHost, int serverPort)
throws IOException
{
    System.out.println("*** ShutdownSlaveServerByOsKill.suite("+serverHost+","+serverPort+")");
    
    Test t = TestConfiguration.existingServerSuite(ShutdownSlaveServerByOsKill.class,false,serverHost,serverPort);
    System.out.println("*** Done TestConfiguration.existingServerSuite(ShutdownSlaveServerByOsKill.class,false,"
            +serverHost+":"+serverPort+")");
    return t;
}
 
Example 7
Source File: TestPreStartedSlaveServer.java    From gemfirexd-oss with Apache License 2.0 5 votes vote down vote up
/**
  * Adds this class to the *existing server* suite.
  */
 public static Test suite(String serverHost, int serverPort)
 {
     System.out.println("*** TestPreStartedSlaveServer.suite(serverHost,serverPort)");
  
     Test t = TestConfiguration.existingServerSuite(TestPreStartedSlaveServer.class,false,serverHost,serverPort);
     System.out.println("*** Done TestConfiguration.existingServerSuite(TestPreStartedSlaveServer.class,false,serverHost,serverPort)");
     return t;
}
 
Example 8
Source File: TestPostStartedMasterAndSlave_StopMaster.java    From gemfirexd-oss with Apache License 2.0 5 votes vote down vote up
/**
  * Adds this class to the *existing server* suite.
  */
 public static Test suite(String serverHost, int serverPort)
 {
     System.out.println("*** TestPostStartedMasterAndSlave_StopMaster.suite(serverHost,serverPort)");
  
     Test t = TestConfiguration.existingServerSuite(TestPostStartedMasterAndSlave_StopMaster.class,false,serverHost,serverPort);
     System.out.println("*** Done TestConfiguration.existingServerSuite(TestPostStartedMasterAndSlave_StopMaster.class,false,serverHost,serverPort)");
     return t;
}
 
Example 9
Source File: TestPreStartedMasterServer.java    From gemfirexd-oss with Apache License 2.0 5 votes vote down vote up
/**
  * Adds this class to the *existing server* suite.
  */
 public static Test suite(String serverHost, int serverPort)
 {
     System.out.println("*** TestPreStartedMasterServer.suite(serverHost,serverPort)");
  
     Test t = TestConfiguration.existingServerSuite(TestPreStartedMasterServer.class,false,serverHost,serverPort);
     System.out.println("*** Done TestConfiguration.existingServerSuite(TestPreStartedMasterServer.class,false,serverHost,serverPort)");
     return t;
}
 
Example 10
Source File: TestPostStoppedSlaveServer.java    From gemfirexd-oss with Apache License 2.0 5 votes vote down vote up
/**
  * Adds this class to the *existing server* suite.
  */
 public static Test suite(String serverHost, int serverPort)
 {
     System.out.println("*** TestPostStoppedSlaveServer.suite(serverHost,serverPort)");
  
     Test t = TestConfiguration.existingServerSuite(TestPostStoppedSlaveServer.class,false,serverHost,serverPort);
     System.out.println("*** Done TestConfiguration.existingServerSuite(TestPostStoppedSlaveServer.class,false,serverHost,serverPort)");
     return t;
}
 
Example 11
Source File: TestPostStoppedSlaveServer.java    From gemfirexd-oss with Apache License 2.0 5 votes vote down vote up
/**
  * Adds this class to the *existing server* suite.
  */
 public static Test suite(String serverHost, int serverPort)
 {
     System.out.println("*** TestPostStoppedSlaveServer.suite(serverHost,serverPort)");
  
     Test t = TestConfiguration.existingServerSuite(TestPostStoppedSlaveServer.class,false,serverHost,serverPort);
     System.out.println("*** Done TestConfiguration.existingServerSuite(TestPostStoppedSlaveServer.class,false,serverHost,serverPort)");
     return t;
}
 
Example 12
Source File: TestPreInitSlave.java    From gemfirexd-oss with Apache License 2.0 5 votes vote down vote up
/**
  * Adds this class to the *existing server* suite.
  */
 public static Test suite(String serverHost, int serverPort)
 {
     System.out.println("*** TestPreInitSlave.suite(serverHost,serverPort)");
  
     Test t = TestConfiguration.existingServerSuite(TestPreInitSlave.class,false,serverHost,serverPort);
     System.out.println("*** Done TestConfiguration.existingServerSuite(TestPreInitSlave.class,false,serverHost,serverPort)");
     return t;
}
 
Example 13
Source File: ShutdownSlaveServerViaNwSrvCtrl.java    From gemfirexd-oss with Apache License 2.0 5 votes vote down vote up
/**
 * Adds this class to the *existing server* suite.
 */
public static Test suite(String serverHost, int serverPort)
throws IOException
{
    System.out.println("*** ShutdownSlaveServerViaNwSrvCtrl.suite("+serverHost+","+serverPort+")");
    
    Test t = TestConfiguration.existingServerSuite(ShutdownSlaveServerViaNwSrvCtrl.class,false,serverHost,serverPort);
    System.out.println("*** Done TestConfiguration.existingServerSuite(ShutdownSlaveServerViaNwSrvCtrl.class,false,"
            +serverHost+":"+serverPort+")");
    return t;
}
 
Example 14
Source File: ShutdownMasterServer.java    From gemfirexd-oss with Apache License 2.0 5 votes vote down vote up
/**
 * Adds this class to the *existing server* suite.
 */
public static Test suite(String serverHost, int serverPort)
throws IOException
{
    System.out.println("*** ShutdownMasterServer.suite("+serverHost+","+serverPort+")");
    
    Test t = TestConfiguration.existingServerSuite(ShutdownMasterServer.class,false,serverHost,serverPort);
    System.out.println("*** Done TestConfiguration.existingServerSuite(ShutdownMasterServer.class,false,"
            +serverHost+":"+serverPort+")");
    return t;
}
 
Example 15
Source File: TestPostStartedMasterAndSlave_Failover.java    From gemfirexd-oss with Apache License 2.0 5 votes vote down vote up
/**
  * Adds this class to the *existing server* suite.
  */
 public static Test suite(String serverHost, int serverPort)
 {
     System.out.println("*** TestPostStartedMasterAndSlave_Failover.suite(serverHost,serverPort)");
  
     Test t = TestConfiguration.existingServerSuite(TestPostStartedMasterAndSlave_Failover.class,false,serverHost,serverPort);
     System.out.println("*** Done TestConfiguration.existingServerSuite(TestPostStartedMasterAndSlave_Failover.class,false,serverHost,serverPort)");
     return t;
}
 
Example 16
Source File: ShutdownMasterServer.java    From gemfirexd-oss with Apache License 2.0 5 votes vote down vote up
/**
 * Adds this class to the *existing server* suite.
 */
public static Test suite(String serverHost, int serverPort)
throws IOException
{
    System.out.println("*** ShutdownMasterServer.suite("+serverHost+","+serverPort+")");
    
    Test t = TestConfiguration.existingServerSuite(ShutdownMasterServer.class,false,serverHost,serverPort);
    System.out.println("*** Done TestConfiguration.existingServerSuite(ShutdownMasterServer.class,false,"
            +serverHost+":"+serverPort+")");
    return t;
}
 
Example 17
Source File: ReplicationTestRun_Verify.java    From gemfirexd-oss with Apache License 2.0 4 votes vote down vote up
private static Test simpleVerify(String serverHost, int serverPort)
{
    return TestConfiguration.existingServerSuite(ReplicationTestRun_Verify.class,
            false,serverHost,serverPort);
}
 
Example 18
Source File: StandardTests.java    From gemfirexd-oss with Apache License 2.0 4 votes vote down vote up
public static Test simpleTest(String serverHost, int serverPort)
{
    return TestConfiguration.existingServerSuite(SimpleTest.class,
            false,serverHost,serverPort);
    // return DatabasePropertyTestSetup.setLockTimeouts(suite,3,3); ??
}
 
Example 19
Source File: StandardTests.java    From gemfirexd-oss with Apache License 2.0 4 votes vote down vote up
public static Test prepareStatementTest(String hostName, int portNo)
{
    return TestConfiguration.existingServerSuite(PrepareStatementTest.class,
            false,hostName, portNo);
}
 
Example 20
Source File: StandardTests.java    From gemfirexd-oss with Apache License 2.0 4 votes vote down vote up
public static Test databaseClassLoadingTest(String hostName, int portNo)
{
    return TestConfiguration.existingServerSuite(DatabaseClassLoadingTest.class,
            false,hostName, portNo);
}