示例#1
0
  public static void rollbackForTestClass() {
    SavePoint savePoint = TestRun.getSavePointForTestClass();

    if (savePoint != null) {
      savePoint.rollback();
      TestRun.setSavePointForTestClass(null);
    }
  }
示例#2
0
 public static void registerNewActiveSavePoint() {
   TestRun.setSavePointForTestClass(new SavePoint());
 }