summaryrefslogtreecommitdiff
path: root/cpp/test/Ice/binding/TestI.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/test/Ice/binding/TestI.cpp')
-rw-r--r--cpp/test/Ice/binding/TestI.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/cpp/test/Ice/binding/TestI.cpp b/cpp/test/Ice/binding/TestI.cpp
index a39cb3a5515..ecadd92171b 100644
--- a/cpp/test/Ice/binding/TestI.cpp
+++ b/cpp/test/Ice/binding/TestI.cpp
@@ -9,13 +9,14 @@
#include <Ice/Ice.h>
#include <TestI.h>
-#include <TestCommon.h>
+#include <TestHelper.h>
using namespace std;
using namespace Ice;
using namespace Test;
-RemoteCommunicatorI::RemoteCommunicatorI() : _nextPort(1)
+RemoteCommunicatorI::RemoteCommunicatorI() :
+ _nextPort(1)
{
}
@@ -39,7 +40,7 @@ RemoteCommunicatorI::createObjectAdapter(const string& name, const string& endpt
{
if(endpoints.find("-p") == string::npos)
{
- endpoints = getTestEndpoint(com, _nextPort++, endpoints);
+ endpoints = TestHelper::getTestEndpoint(com->getProperties(), _nextPort++, endpoints);
}
}
com->getProperties()->setProperty(name + ".ThreadPool.Size", "1");