summaryrefslogtreecommitdiff
path: root/java/test/Ice/servantLocator/Client.java
diff options
context:
space:
mode:
Diffstat (limited to 'java/test/Ice/servantLocator/Client.java')
-rw-r--r--java/test/Ice/servantLocator/Client.java33
1 files changed, 33 insertions, 0 deletions
diff --git a/java/test/Ice/servantLocator/Client.java b/java/test/Ice/servantLocator/Client.java
new file mode 100644
index 00000000000..403616d3c10
--- /dev/null
+++ b/java/test/Ice/servantLocator/Client.java
@@ -0,0 +1,33 @@
+// **********************************************************************
+//
+// Copyright (c) 2003-2006 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
+{
+ static class TestClient extends Ice.Application
+ {
+ public int
+ run(String[] args)
+ {
+ TestIntfPrx obj = AllTests.allTests(communicator(), false);
+ obj.shutdown();
+ return 0;
+ }
+ }
+
+ public static void
+ main(String[] args)
+ {
+ TestClient app = new TestClient();
+ int result = app.main("Client", args);
+ System.gc();
+ System.exit(result);
+ }
+}