// ********************************************************************** // // Copyright (c) 2003-2017 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 #include #include using namespace std; using namespace Test; DEFINE_TEST("client") int run(int, char**, const Ice::CommunicatorPtr& communicator) { void allTests(const Ice::CommunicatorPtr&); allTests(communicator); return EXIT_SUCCESS; } int main(int argc, char* argv[]) { #ifdef ICE_STATIC_LIBS Ice::registerIceSSL(false); Ice::registerIceWS(true); #endif try { Ice::InitializationData initData = getTestInitData(argc, argv); Ice::CommunicatorHolder ich(argc, argv, initData); return run(argc, argv, ich.communicator()); } catch(const Ice::Exception& ex) { cerr << ex << endl; return EXIT_FAILURE; } }