protected void tearDown() throws Exception {
    if (client != null) {
      client.disconnect();
    }

    if (clientAsync != null) {
      clientAsync.disconnect();
    }
    server.stop();
    super.tearDown();
  }
Exemplo n.º 2
0
 protected void tearDown() throws Exception {
   ((MinaHTWorkItemHandler) getHandler()).dispose();
   getClient().disconnect();
   server.stop();
   super.tearDown();
 }
Exemplo n.º 3
0
 /** Stops the server */
 @Override
 protected void tearDown() throws Exception {
   server.stop();
 }
 protected void tearDown() throws Exception {
   client.disconnect();
   server.stop();
   super.tearDown();
 }