Example #1
0
 @BeforeClass
 public static void beforeClass() {
   TestTools.removeDb();
   TestTools.createDb();
   TestTools.defineSchema(ComplexHolder0.class, ComplexHolder1.class, ComplexHolder2.class);
   TestTools.defineIndex(ComplexHolder0.class, "id", false);
 }
 @After
 public void after() {
   TestTools.closePM();
   TestTools.removeDb();
 }
 @AfterClass
 public static void afterClass() {
   TestTools.removeDb();
 }
 @AfterClass
 public static void tearDown() {
   TestTools.removeDb();
 }
Example #5
0
 @AfterClass
 public static void tearDownClass() {
   TestTools.removeDb(DB_NAME);
 }