summaryrefslogtreecommitdiff
path: root/cpp/test/Ice/exceptions/AllTests.cpp
diff options
context:
space:
mode:
authorMichi Henning <michi@zeroc.com>2006-06-28 05:18:43 +0000
committerMichi Henning <michi@zeroc.com>2006-06-28 05:18:43 +0000
commit2ebdeea700fd7d02f13ccccc2dd77557f207db69 (patch)
treec29f10ef9d8a9c61f9a3eade96c288ca47ec8b73 /cpp/test/Ice/exceptions/AllTests.cpp
parentRenamed Sun's scandir and isalphasort to ice_scandir and ice_isalphasort (diff)
downloadice-2ebdeea700fd7d02f13ccccc2dd77557f207db69.tar.bz2
ice-2ebdeea700fd7d02f13ccccc2dd77557f207db69.tar.xz
ice-2ebdeea700fd7d02f13ccccc2dd77557f207db69.zip
Bug 472.
Diffstat (limited to 'cpp/test/Ice/exceptions/AllTests.cpp')
-rw-r--r--cpp/test/Ice/exceptions/AllTests.cpp12
1 files changed, 1 insertions, 11 deletions
diff --git a/cpp/test/Ice/exceptions/AllTests.cpp b/cpp/test/Ice/exceptions/AllTests.cpp
index ce3564e8eea..11fcc831051 100644
--- a/cpp/test/Ice/exceptions/AllTests.cpp
+++ b/cpp/test/Ice/exceptions/AllTests.cpp
@@ -648,7 +648,7 @@ allTests(const Ice::CommunicatorPtr& communicator, bool collocated)
}
cout << "ok" << endl;
- cout << "testing object factory registration exceptions... " << flush;
+ cout << "testing object factory registration exception... " << flush;
{
Ice::ObjectFactoryPtr of = new ObjectFactoryI;
communicator->addObjectFactory(of, "x");
@@ -660,16 +660,6 @@ allTests(const Ice::CommunicatorPtr& communicator, bool collocated)
catch(const Ice::AlreadyRegisteredException&)
{
}
-
- communicator->removeObjectFactory("x");
- try
- {
- communicator->removeObjectFactory("x");
- test(false);
- }
- catch(const Ice::NotRegisteredException&)
- {
- }
}
cout << "ok" << endl;