Пример #1
0
  /** Run in both embedded and client. */
  public static Test suite() {

    TestSuite suite = baseSuite("UpdateXXXTest");

    suite.addTest(TestConfiguration.clientServerDecorator(baseSuite("UpdateXXXTest:client")));

    return suite;
  }
  /** Only run the fixtures in network server mode as that's what they are testing. */
  public static Test suite() {
    TestSuite suite = new TestSuite("ShutDownDBWhenNSShutsDownTest");

    suite.addTest(
        TestConfiguration.clientServerDecorator(
            new ShutDownDBWhenNSShutsDownTest("testEngineShutdownDoesNotTakeDownNSManualReload")));

    /* DERBY-2066
    suite.addTest(TestConfiguration.clientServerDecorator(
            new ShutDownDBWhenNSShutsDownTest(
                    "testEngineShutdownDoesNotTakeDownNSAutoReload")));
    */

    // GemStone changes BEGIN
    // not meaningful for GemFireXD
    /* (original code)
    suite.addTest(TestConfiguration.clientServerDecorator(
            new ShutDownDBWhenNSShutsDownTest(
                    "testDatabasesShutDownWhenNSShutdownAPI")));
    */
    // GemStone changes END

    return suite;
  }