summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Newhook <matthew@zeroc.com>2007-05-04 06:47:59 +0000
committerMatthew Newhook <matthew@zeroc.com>2007-05-04 06:47:59 +0000
commit458ff3d392b66b2d0374a3fbda05a57b6f32e4f8 (patch)
tree8421c3cc98c4efdaa77a13b505dd6267c2a7d6d5
parentadded proxy test. (diff)
downloadice-458ff3d392b66b2d0374a3fbda05a57b6f32e4f8.tar.bz2
ice-458ff3d392b66b2d0374a3fbda05a57b6f32e4f8.tar.xz
ice-458ff3d392b66b2d0374a3fbda05a57b6f32e4f8.zip
cleanup operations test.
-rw-r--r--cppe/test/IceE/operations/Collocated.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/cppe/test/IceE/operations/Collocated.cpp b/cppe/test/IceE/operations/Collocated.cpp
index 4315a54b0c8..74d5b5fe665 100644
--- a/cppe/test/IceE/operations/Collocated.cpp
+++ b/cppe/test/IceE/operations/Collocated.cpp
@@ -49,9 +49,7 @@ public:
setCommunicator(Ice::initialize(argc, argv, initData));
Ice::ObjectAdapterPtr adapter = communicator()->createObjectAdapter("TestAdapter");
- Ice::Identity id = communicator()->stringToIdentity("test");
- adapter->add(new MyDerivedClassI(adapter, id), id);
- adapter->add(new TestCheckedCastI, communicator()->stringToIdentity("context"));
+ adapter->add(new MyDerivedClassI, communicator()->stringToIdentity("test"));
adapter->activate();
Test::MyClassPrx allTests(const Ice::CommunicatorPtr&, const Ice::InitializationData&);