summaryrefslogtreecommitdiff
path: root/cpp/test/Ice/servantLocator/Client.cpp
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2007-01-10 09:15:47 +0000
committerBenoit Foucher <benoit@zeroc.com>2007-01-10 09:15:47 +0000
commit99996f668debdd6d6111b8d1a3560708b4c2b4bf (patch)
treec9763887c9b4dbbe7b1678a281cb5eadd8bd8fff /cpp/test/Ice/servantLocator/Client.cpp
parentAdded support of db45 in /usr/include/db45 and /usr/lib[64]/db45 (diff)
downloadice-99996f668debdd6d6111b8d1a3560708b4c2b4bf.tar.bz2
ice-99996f668debdd6d6111b8d1a3560708b4c2b4bf.tar.xz
ice-99996f668debdd6d6111b8d1a3560708b4c2b4bf.zip
Fix bug 1650
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..1303af0ac9a
--- /dev/null
+++ b/cpp/test/Ice/servantLocator/Client.cpp
@@ -0,0 +1,39 @@
+// **********************************************************************
+//
+// 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.
+//
+// **********************************************************************
+
+#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;
+}