Exemple #1
0
 /**
  * Sets up the fixture, for example, open a network connection. This method is called before a
  * test is executed.
  */
 public void setUp() throws Exception {
   super.setUp();
   db = newBaseRecordManager();
   ts = db.createTreeSet("testBTreeSet");
   for (int i = 0; i < objArray.length; i++) {
     Object x = objArray[i] = new Integer(i);
     ts.add(x);
   }
 }
Exemple #2
0
 /**
  * Tears down the fixture, for example, close a network connection. This method is called after a
  * test is executed.
  */
 public void tearDown() throws Exception {
   db.close();
   super.tearDown();
 }