summaryrefslogtreecommitdiff
path: root/cpp/test/Ice/inheritance/AllTests.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/test/Ice/inheritance/AllTests.cpp')
-rw-r--r--cpp/test/Ice/inheritance/AllTests.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/cpp/test/Ice/inheritance/AllTests.cpp b/cpp/test/Ice/inheritance/AllTests.cpp
index d975fc79d57..6e9f775776b 100644
--- a/cpp/test/Ice/inheritance/AllTests.cpp
+++ b/cpp/test/Ice/inheritance/AllTests.cpp
@@ -8,17 +8,18 @@
// **********************************************************************
#include <Ice/Ice.h>
-#include <TestCommon.h>
+#include <TestHelper.h>
#include <Test.h>
using namespace std;
using namespace Test;
InitialPrxPtr
-allTests(const Ice::CommunicatorPtr& communicator)
+allTests(Test::TestHelper* helper)
{
+ Ice::CommunicatorPtr communicator = helper->communicator();
cout << "testing stringToProxy... " << flush;
- string ref = "initial:" + getTestEndpoint(communicator, 0);
+ string ref = "initial:" + helper->getTestEndpoint();
Ice::ObjectPrxPtr base = communicator->stringToProxy(ref);
test(base);
cout << "ok" << endl;