Ejemplo n.º 1
0
 @After
 public void clean() {
   Logger.info(
       this,
       "============= test take time milliseconds: " + (System.currentTimeMillis() - beginTime));
   if (httpClientUtils != null) {
     httpClientUtils.destroy();
   }
 }
Ejemplo n.º 2
0
 @Before
 public void reset() {
   Logger.info(this, "-------------- reset begin -------------");
   beginTime = System.currentTimeMillis();
   if (httpClientUtils != null) {
     httpClientUtils.destroy();
   }
   Logger.info(this, "-------------- reset end -------------");
 }