Exemplo n.º 1
0
  protected TestSuite getTestSuite() {
    TestSuite suite = new TestSuite();
    suite.setName("NCHAR Test Suite");
    suite.addTest(new ReadNcharTest());
    String str = "shouldBindAllParameters";
    Object obj = getSession().getPlatform();
    suite.addTests(TestVariation.get(obj, str, new InsertNullNcharTest()));
    suite.addTests(TestVariation.get(obj, str, new InsertNcharTest()));
    suite.addTests(TestVariation.get(obj, str, new UpdateNullNcharTest()));
    suite.addTests(TestVariation.get(obj, str, new UpdateNcharTest()));

    return suite;
  }
 // For CR#4334, test reading through write connection when in transaction and
 // using a client/server setup.
 //
 public static TestSuite getReadingThroughWriteConnectionSuite() {
   TestSuite suite;
   suite = new TestSuite();
   suite.setName("ReadingThroughWriteConnectionSuite");
   suite.setDescription(
       "This suite tests reading through write connection when in transaction and using a client/server.");
   suite.addTests(ReadingThroughWriteConnectionInTransactionTest.buildTests());
   return suite;
 }