From b4dbd2cfa724476162fa6d35941a5d7cdc9c9524 Mon Sep 17 00:00:00 2001 From: Tucker Evans Date: Mon, 18 Feb 2019 08:10:10 -0500 Subject: Adds all assignments not previously in a git repo --- CS2452/assign5/src/Test.java | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100755 CS2452/assign5/src/Test.java (limited to 'CS2452/assign5/src/Test.java') diff --git a/CS2452/assign5/src/Test.java b/CS2452/assign5/src/Test.java new file mode 100755 index 0000000..ed6234c --- /dev/null +++ b/CS2452/assign5/src/Test.java @@ -0,0 +1,23 @@ +class Test +{ + public static void main(String[] args) + { + try + { + if (args.length != 1) + { + System.out.println("usage: java Test listeningPort"); + System.exit(1); + } + System.out.println("Test progam starts"); + + WRServer server = new WRServer(Integer.parseInt(args[0])); + server.t.join(); + + System.out.println("Test progam ends"); + } catch (Exception e) + { + e.printStackTrace(); + } + } +} \ No newline at end of file -- cgit v1.1