コード例 #1
0
 public static Test suite() {
   if (JDBC.vmSupportsJSR169())
     // Test uses DriverManager which
     // is not supported with JSR169
     return new TestSuite("empty ConnectTest:DriverManager not supported");
   else {
     TestSuite suite = new TestSuite("ConnectTest suite");
     suite.addTest(TestConfiguration.defaultSuite(ConnectTest.class));
     // Derby2026 test uses explicit client connection so not relevant to embedded
     suite.addTest(
         TestConfiguration.clientServerDecorator(
             new ConnectTest("clientTestDerby2026LoginTimeout")));
     return new CleanDatabaseTestSetup(suite);
   }
 }
コード例 #2
0
 public static Test suite() {
   return TestConfiguration.defaultSuite(UnsupportedVetter.class);
 }