diff options
Diffstat (limited to 'cpp/test/Ice/operations/TestI.cpp')
-rwxr-xr-x | cpp/test/Ice/operations/TestI.cpp | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/cpp/test/Ice/operations/TestI.cpp b/cpp/test/Ice/operations/TestI.cpp index a1ac44a2b1b..84c8f3695d0 100755 --- a/cpp/test/Ice/operations/TestI.cpp +++ b/cpp/test/Ice/operations/TestI.cpp @@ -14,6 +14,34 @@ #include <functional> #include <iterator> +bool +MyDerivedClassI::ice_isA(const std::string& id, const Ice::Current& current) const +{ + test(current.mode == Ice::Nonmutating); + return MyDerivedClass::ice_isA(id, current); +} + +void +MyDerivedClassI::ice_ping(const Ice::Current& current) const +{ + test(current.mode == Ice::Nonmutating); + MyDerivedClass::ice_ping(current); +} + +std::vector<std::string> +MyDerivedClassI::ice_ids(const Ice::Current& current) const +{ + test(current.mode == Ice::Nonmutating); + return MyDerivedClass::ice_ids(current); +} + +const std::string& +MyDerivedClassI::ice_id(const Ice::Current& current) const +{ + test(current.mode == Ice::Nonmutating); + return MyDerivedClass::ice_id(current); +} + void MyDerivedClassI::shutdown(const Ice::Current& current) { @@ -395,6 +423,18 @@ MyDerivedClassI::opDoubleMarshaling(Ice::Double p1, const Test::DoubleS& p2, con } void +MyDerivedClassI::opIdempotent(const Ice::Current& current) +{ + test(current.mode == Ice::Idempotent); +} + +void +MyDerivedClassI::opNonmutating(const Ice::Current& current) +{ + test(current.mode == Ice::Nonmutating); +} + +void MyDerivedClassI::opDerived(const Ice::Current&) { } |