diff options
author | Benoit Foucher <benoit@zeroc.com> | 2007-01-10 09:15:47 +0000 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2007-01-10 09:15:47 +0000 |
commit | 99996f668debdd6d6111b8d1a3560708b4c2b4bf (patch) | |
tree | c9763887c9b4dbbe7b1678a281cb5eadd8bd8fff /cpp/test/Ice/servantLocator/Client.cpp | |
parent | Added support of db45 in /usr/include/db45 and /usr/lib[64]/db45 (diff) | |
download | ice-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.cpp | 39 |
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; +} |