From dcdc32af1fced49d80a8ccd93230e15d91ab45d8 Mon Sep 17 00:00:00 2001 From: Benoit Foucher Date: Fri, 25 Nov 2016 13:13:22 +0100 Subject: Refactored test scripts --- cpp/test/Ice/networkProxy/Client.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'cpp/test/Ice/networkProxy/Client.cpp') diff --git a/cpp/test/Ice/networkProxy/Client.cpp b/cpp/test/Ice/networkProxy/Client.cpp index ca8c629df93..d8b93814226 100644 --- a/cpp/test/Ice/networkProxy/Client.cpp +++ b/cpp/test/Ice/networkProxy/Client.cpp @@ -17,8 +17,7 @@ using namespace std; using namespace Test; int -run(int, char**, const Ice::CommunicatorPtr& communicator) -{ +run(int, char**, const Ice::CommunicatorPtr& communicator){ void allTests(const Ice::CommunicatorPtr&); allTests(communicator); return EXIT_SUCCESS; @@ -33,7 +32,8 @@ main(int argc, char* argv[]) try { - Ice::CommunicatorHolder ich = Ice::initialize(argc, argv); + Ice::InitializationData initData = getTestInitData(argc, argv); + Ice::CommunicatorHolder ich = Ice::initialize(argc, argv, initData); return run(argc, argv, ich.communicator()); } catch(const Ice::Exception& ex) -- cgit v1.2.3