summaryrefslogtreecommitdiff
path: root/cpp/test/Ice/servantLocator/Client.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/test/Ice/servantLocator/Client.cpp')
-rw-r--r--cpp/test/Ice/servantLocator/Client.cpp39
1 files changed, 39 insertions, 0 deletions
diff --git a/cpp/test/Ice/servantLocator/Client.cpp b/cpp/test/Ice/servantLocator/Client.cpp
new file mode 100644
index 00000000000..a905b782792
--- /dev/null
+++ b/cpp/test/Ice/servantLocator/Client.cpp
@@ -0,0 +1,39 @@
+// **********************************************************************
+//
+// Copyright (c) 2003-2011 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.
+//
+// **********************************************************************
+
+#include <Ice/Application.h>
+#include <TestCommon.h>
+#include <Test.h>
+
+using namespace std;
+using namespace Ice;
+using namespace Test;
+
+class TestClient : public Application
+{
+public:
+
+ virtual int run(int, char*[]);
+};
+
+int
+main(int argc, char* argv[])
+{
+ TestClient app;
+ return app.main(argc, argv);
+}
+
+int
+TestClient::run(int argc, char* argv[])
+{
+ TestIntfPrx allTests(const CommunicatorPtr&, bool);
+ TestIntfPrx obj = allTests(communicator(), false);
+ obj->shutdown();
+ return EXIT_SUCCESS;
+}