diff options
author | Jose <jose@zeroc.com> | 2018-06-01 17:41:03 +0200 |
---|---|---|
committer | Jose <jose@zeroc.com> | 2018-06-01 17:41:03 +0200 |
commit | cbe92e540a7f02f0bdf93192424bd119189365b7 (patch) | |
tree | 411c50dc0ae9c669d31a940b1b4903b5deac4f12 /cpp/test/IceUtil/timer/Client.cpp | |
parent | Fixed Util.py check for binary installation directory on Windows (diff) | |
download | ice-cbe92e540a7f02f0bdf93192424bd119189365b7.tar.bz2 ice-cbe92e540a7f02f0bdf93192424bd119189365b7.tar.xz ice-cbe92e540a7f02f0bdf93192424bd119189365b7.zip |
Do not use Ice::Application for Ice testsuite
Diffstat (limited to 'cpp/test/IceUtil/timer/Client.cpp')
-rw-r--r-- | cpp/test/IceUtil/timer/Client.cpp | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/cpp/test/IceUtil/timer/Client.cpp b/cpp/test/IceUtil/timer/Client.cpp index 1dc82a002c2..d24313493e6 100644 --- a/cpp/test/IceUtil/timer/Client.cpp +++ b/cpp/test/IceUtil/timer/Client.cpp @@ -8,7 +8,7 @@ // ********************************************************************** #include <IceUtil/Timer.h> -#include <TestCommon.h> +#include <TestHelper.h> #include <vector> @@ -151,7 +151,16 @@ private: }; ICE_DEFINE_PTR(DestroyTaskPtr, DestroyTask); -int main(int, char**) +class Client : public Test::TestHelper +{ +public: + + void run(int argc, char* argv[]); + +}; + +void +Client::run(int, char* argv[]) { cout << "testing timer... " << flush; { @@ -274,6 +283,6 @@ int main(int, char**) } } cout << "ok" << endl; - - return EXIT_SUCCESS; } + +DEFINE_TEST(Client) |