summaryrefslogtreecommitdiff
path: root/cpp/test/Ice/exceptions/AllTests.cpp
diff options
context:
space:
mode:
authorMark Spruiell <mes@zeroc.com>2016-01-19 16:46:11 -0800
committerMark Spruiell <mes@zeroc.com>2016-01-19 16:46:11 -0800
commitd5dd7c866e9e1dc59dc7e127eb39f641530bf823 (patch)
tree61771e4f322a7138b643d5325a6d10acea30fb84 /cpp/test/Ice/exceptions/AllTests.cpp
parentDeprecate ice_name and add ice_id (diff)
downloadice-d5dd7c866e9e1dc59dc7e127eb39f641530bf823.tar.bz2
ice-d5dd7c866e9e1dc59dc7e127eb39f641530bf823.tar.xz
ice-d5dd7c866e9e1dc59dc7e127eb39f641530bf823.zip
ICE-6861 - removing public stream API
Diffstat (limited to 'cpp/test/Ice/exceptions/AllTests.cpp')
-rw-r--r--cpp/test/Ice/exceptions/AllTests.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/cpp/test/Ice/exceptions/AllTests.cpp b/cpp/test/Ice/exceptions/AllTests.cpp
index e5e2fa8c37b..fe2b782338b 100644
--- a/cpp/test/Ice/exceptions/AllTests.cpp
+++ b/cpp/test/Ice/exceptions/AllTests.cpp
@@ -646,7 +646,7 @@ allTests(const Ice::CommunicatorPtr& communicator)
cout << "testing value factory registration exception... " << flush;
{
#ifdef ICE_CPP11_MAPPING
- communicator->addValueFactory(
+ communicator->getValueFactoryManager()->add(
[](const std::string&)
{
return nullptr;
@@ -654,7 +654,7 @@ allTests(const Ice::CommunicatorPtr& communicator)
"x");
try
{
- communicator->addValueFactory(
+ communicator->getValueFactoryManager()->add(
[](const std::string&)
{
return nullptr;
@@ -667,10 +667,10 @@ allTests(const Ice::CommunicatorPtr& communicator)
}
#else
Ice::ValueFactoryPtr vf = new ValueFactoryI;
- communicator->addValueFactory(vf, "x");
+ communicator->getValueFactoryManager()->add(vf, "x");
try
{
- communicator->addValueFactory(vf, "x");
+ communicator->getValueFactoryManager()->add(vf, "x");
test(false);
}
catch(const Ice::AlreadyRegisteredException&)