diff options
author | Matthew Newhook <matthew@zeroc.com> | 2005-08-22 06:38:54 +0000 |
---|---|---|
committer | Matthew Newhook <matthew@zeroc.com> | 2005-08-22 06:38:54 +0000 |
commit | 8878eb2d6e1da17022cd85f99e8dc216b0dd3b96 (patch) | |
tree | ddb11af48c2648fc76addb48785a2ae489bb6655 /cppe/test/IceE/operations/TestI.cpp | |
parent | moving MIDP UUID generation to main srcs (diff) | |
download | ice-8878eb2d6e1da17022cd85f99e8dc216b0dd3b96.tar.bz2 ice-8878eb2d6e1da17022cd85f99e8dc216b0dd3b96.tar.xz ice-8878eb2d6e1da17022cd85f99e8dc216b0dd3b96.zip |
Simplify operations test.
Diffstat (limited to 'cppe/test/IceE/operations/TestI.cpp')
-rw-r--r-- | cppe/test/IceE/operations/TestI.cpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/cppe/test/IceE/operations/TestI.cpp b/cppe/test/IceE/operations/TestI.cpp index 9b4f661ddfb..dbd5615edf0 100644 --- a/cppe/test/IceE/operations/TestI.cpp +++ b/cppe/test/IceE/operations/TestI.cpp @@ -11,7 +11,7 @@ #include <TestI.h> #include <TestCommon.h> #include <functional> - +
MyDerivedClassI::MyDerivedClassI(const Ice::ObjectAdapterPtr& adapter, const Ice::Identity& identity) : _adapter(adapter), _identity(identity) @@ -370,8 +370,9 @@ TestCheckedCastI::getContext(const Ice::Current& c) return _ctx; } -void -TestCheckedCastI::setContext(const Ice::Context& ctx) +bool +TestCheckedCastI::ice_isA(const std::string& s, const Ice::Current& current) const { - _ctx = ctx; + _ctx = current.ctx; + return TestCheckedCast::ice_isA(s, current); } |