예제 #1
0
 @After
 public void cleanUp() throws Exception {
   try {
     localCleanUp();
   } catch (Exception e) {
     e.printStackTrace();
     throw e;
   }
   cleanupSystem();
 }
예제 #2
0
 @Before
 public void setUp() throws Exception {
   initializeSystem();
   try {
     localReset();
   } catch (Exception e) {
     System.out.println("Warning: Preclean failed: " + e.getMessage());
   }
   try {
     localSetUp();
   } catch (Exception e) {
     e.printStackTrace();
     throw e;
   }
 }