summaryrefslogtreecommitdiff
path: root/java/test/Ice/serialize/Client.java
diff options
context:
space:
mode:
authorMark Spruiell <mes@zeroc.com>2009-02-18 14:16:04 -0800
committerMark Spruiell <mes@zeroc.com>2009-02-18 14:16:04 -0800
commit21b8342c6d99d075ab9ae94265edac8582ab59c1 (patch)
tree2ecb1e1c1aa68c54cea2bdb151d5d6ac21cec594 /java/test/Ice/serialize/Client.java
parentBug 3742 - linking wrong sdk to obtain nmake in INSTALL.WINDOWS (diff)
downloadice-21b8342c6d99d075ab9ae94265edac8582ab59c1.tar.bz2
ice-21b8342c6d99d075ab9ae94265edac8582ab59c1.tar.xz
ice-21b8342c6d99d075ab9ae94265edac8582ab59c1.zip
bug 1593 - adding proxy serialization and test
Diffstat (limited to 'java/test/Ice/serialize/Client.java')
-rw-r--r--java/test/Ice/serialize/Client.java55
1 files changed, 55 insertions, 0 deletions
diff --git a/java/test/Ice/serialize/Client.java b/java/test/Ice/serialize/Client.java
new file mode 100644
index 00000000000..74ab7531339
--- /dev/null
+++ b/java/test/Ice/serialize/Client.java
@@ -0,0 +1,55 @@
+// **********************************************************************
+//
+// Copyright (c) 2003-2009 ZeroC, Inc. All rights reserved.
+//
+// This copy of Ice is licensed to you under the terms described in the
+// ICE_LICENSE file included in this distribution.
+//
+// **********************************************************************
+
+import Test.*;
+
+public class Client
+{
+ private static int
+ run(String[] args, Ice.Communicator communicator)
+ {
+ InitialPrx initial = AllTests.allTests(communicator, false);
+ initial.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(Exception ex)
+ {
+ ex.printStackTrace();
+ status = 1;
+ }
+
+ if(communicator != null)
+ {
+ try
+ {
+ communicator.destroy();
+ }
+ catch(Ice.LocalException ex)
+ {
+ ex.printStackTrace();
+ status = 1;
+ }
+ }
+
+ System.gc();
+ System.exit(status);
+ }
+}