Ejemplo n.º 1
0
  Basic() throws Exception {

    SocketTests();
    ServerSocketTests();
    DatagramSocketTests();
    MulticastSocketTests();

    System.out.println("***************************************");
    System.out.println(testCount + " test(s) executed, " + failures + " failure(s).");
    if (failures > 0) {
      throw new Exception(failures + " test(s) failed");
    }
  }