コード例 #1
0
 protected void tearDown() throws Exception {
   super.setUp();
   try {
     assertEquals(0, db.getUsedConnectionCount());
   } catch (Exception e) {
     FaultUtil.printFault(e);
     assertTrue(false);
   }
 }
コード例 #2
0
  protected void setUp() throws Exception {
    super.setUp();
    try {
      db = Utils.getDB();
      assertEquals(0, db.getUsedConnectionCount());
      ca = Utils.getCA();

    } catch (Exception e) {
      FaultUtil.printFault(e);
      assertTrue(false);
    }
  }