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/inputUtil/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/inputUtil/Client.cpp')
-rw-r--r-- | cpp/test/IceUtil/inputUtil/Client.cpp | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/cpp/test/IceUtil/inputUtil/Client.cpp b/cpp/test/IceUtil/inputUtil/Client.cpp index 569ee64c3c5..63c18b7436d 100644 --- a/cpp/test/IceUtil/inputUtil/Client.cpp +++ b/cpp/test/IceUtil/inputUtil/Client.cpp @@ -10,7 +10,7 @@ #include <IceUtil/InputUtil.h> #include <IceUtil/StringUtil.h> #include <IceUtil/Options.h> -#include <TestCommon.h> +#include <TestHelper.h> #include <vector> @@ -31,8 +31,15 @@ const Int64 Int64Min = -0x7fffffffffffffffLL-1LL; const Int64 Int64Max = 0x7fffffffffffffffLL; #endif -int -main(int, char**) +class Client : public Test::TestHelper +{ +public: + + virtual void run(int argc, char* argv[]); +}; + +void +Client::run(int, char**) { cout << "testing string-to-64-bit integer conversion... " << flush; @@ -242,6 +249,6 @@ main(int, char**) test(!IceUtilInternal::splitString("a\"b", ":", ss)); } cout << "ok" << endl; - - return EXIT_SUCCESS; } + +DEFINE_TEST(Client) |