コード例 #1
0
 @After
 public void after() throws Exception {
   long now = System.nanoTime();
   System.out.println("elapsed time " + (now - starttime) / 1000000 + "milli secs");
 }
コード例 #2
0
 @Before
 public void before() throws Exception {
   starttime = System.nanoTime();
 }