diff options
author | Mark Spruiell <mes@zeroc.com> | 2001-12-12 02:24:24 +0000 |
---|---|---|
committer | Mark Spruiell <mes@zeroc.com> | 2001-12-12 02:24:24 +0000 |
commit | 83c9ea4b35ab8c80bee8cd23670669a1b7f4bc5c (patch) | |
tree | 72c9194c3c75ecf93c7018b49285c562c7421234 /java/test/Ice/facets/Client.java | |
parent | minor fix (diff) | |
download | ice-83c9ea4b35ab8c80bee8cd23670669a1b7f4bc5c.tar.bz2 ice-83c9ea4b35ab8c80bee8cd23670669a1b7f4bc5c.tar.xz ice-83c9ea4b35ab8c80bee8cd23670669a1b7f4bc5c.zip |
initial check-in
Diffstat (limited to 'java/test/Ice/facets/Client.java')
-rw-r--r-- | java/test/Ice/facets/Client.java | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/java/test/Ice/facets/Client.java b/java/test/Ice/facets/Client.java new file mode 100644 index 00000000000..e66d55743f4 --- /dev/null +++ b/java/test/Ice/facets/Client.java @@ -0,0 +1,53 @@ +// ********************************************************************** +// +// Copyright (c) 2001 +// MutableRealms, Inc. +// Huntsville, AL, USA +// +// All Rights Reserved +// +// ********************************************************************** + +public class Client +{ + private static int + run(String[] args, Ice.Communicator communicator) + { + GPrx g = AllTests.allTests(communicator); + g.shutdown(); + return 0; + } + + public static void + main(String[] args) + { + int status = 0; + Ice.Communicator communicator = null; + + try + { + communicator = Ice.Util.initialize(args); + status = run(args, communicator); + } + catch (Ice.LocalException ex) + { + ex.printStackTrace(); + status = 1; + } + + if (communicator != null) + { + try + { + communicator.destroy(); + } + catch (Ice.LocalException ex) + { + ex.printStackTrace(); + status = 1; + } + } + + System.exit(status); + } +} |