summaryrefslogtreecommitdiff
path: root/cpp/test/Ice/exceptions/AllTests.cpp
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2016-01-19 16:27:53 +0100
committerJose <jose@zeroc.com>2016-01-19 16:27:53 +0100
commit6faa017414ad0321fd28da58ab5d3c851ec7f1f2 (patch)
treee9e9146105ffc5c23edd72b38d02442ba1fe2bbd /cpp/test/Ice/exceptions/AllTests.cpp
parentFix IEE-162 - multiple bluetooth test failures (diff)
downloadice-6faa017414ad0321fd28da58ab5d3c851ec7f1f2.tar.bz2
ice-6faa017414ad0321fd28da58ab5d3c851ec7f1f2.tar.xz
ice-6faa017414ad0321fd28da58ab5d3c851ec7f1f2.zip
Deprecate ice_name and add ice_id
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 164cc9d65d3..e5e2fa8c37b 100644
--- a/cpp/test/Ice/exceptions/AllTests.cpp
+++ b/cpp/test/Ice/exceptions/AllTests.cpp
@@ -408,10 +408,10 @@ allTests(const Ice::CommunicatorPtr& communicator)
cout << "testing ice_print()/what()... " << flush;
{
A a;
- string aMsg = "Test::A";
+ string aMsg = "::Test::A";
Ice::UnknownLocalException ule("thisFile", 99);
- string uleMsg = "thisFile:99: Ice::UnknownLocalException:\nunknown local exception";
+ string uleMsg = "thisFile:99: ::Ice::UnknownLocalException:\nunknown local exception";
//
// Test ice_print().
@@ -454,7 +454,7 @@ allTests(const Ice::CommunicatorPtr& communicator)
E ex("E");
ostringstream os;
ex.ice_print(os);
- test(os.str() == "Test::E");
+ test(os.str() == "::Test::E");
test(ex.data == "E");
}
@@ -465,7 +465,7 @@ allTests(const Ice::CommunicatorPtr& communicator)
F ex("F");
ostringstream os;
ex.ice_print(os);
- test(os.str() == "Test::F data:'F'");
+ test(os.str() == "::Test::F data:'F'");
test(ex.data == "F");
}