summaryrefslogtreecommitdiff
path: root/cpp/test/Ice/threadPoolPriority/AllTests.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/test/Ice/threadPoolPriority/AllTests.cpp')
-rw-r--r--cpp/test/Ice/threadPoolPriority/AllTests.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/cpp/test/Ice/threadPoolPriority/AllTests.cpp b/cpp/test/Ice/threadPoolPriority/AllTests.cpp
index 68c837e52a5..2e4e4f44dab 100644
--- a/cpp/test/Ice/threadPoolPriority/AllTests.cpp
+++ b/cpp/test/Ice/threadPoolPriority/AllTests.cpp
@@ -10,16 +10,17 @@
#include <Ice/Ice.h>
#include <Ice/Locator.h>
#include <Ice/Router.h>
-#include <TestCommon.h>
+#include <TestHelper.h>
#include <Test.h>
using namespace std;
Test::PriorityPrxPtr
-allTests(const Ice::CommunicatorPtr& communicator)
+allTests(Test::TestHelper* helper)
{
+ Ice::CommunicatorPtr communicator = helper->communicator();
cout << "testing server priority... " << flush;
- string ref = "test:" + getTestEndpoint(communicator, 0) + " -t 10000";
+ string ref = "test:" + helper->getTestEndpoint() + " -t 10000";
Ice::ObjectPrxPtr base = communicator->stringToProxy(ref);
test(base);