diff options
author | Benoit Foucher <benoit@zeroc.com> | 2016-08-16 16:37:18 +0200 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2016-08-16 16:37:18 +0200 |
commit | 88293201e566c982830482601e878ff4bc643782 (patch) | |
tree | b0ffc2633b8404cde06d4786927b1f6b63024849 /cpp/test/Ice/operations/TestI.cpp | |
parent | Fixed ICE-7273 - C# AMI test failure (diff) | |
download | ice-88293201e566c982830482601e878ff4bc643782.tar.bz2 ice-88293201e566c982830482601e878ff4bc643782.tar.xz ice-88293201e566c982830482601e878ff4bc643782.zip |
C# mapping changes
- user exceptions are no longer checked on the server side (ICE-6980)
- support for ["marshaled-result"] metadata
- AMD operations now return a Task
- improved dispatch interceptors
- PropertiesAdminI::setProperties impl. now invokes callbacks synchronously
Diffstat (limited to 'cpp/test/Ice/operations/TestI.cpp')
-rw-r--r-- | cpp/test/Ice/operations/TestI.cpp | 47 |
1 files changed, 41 insertions, 6 deletions
diff --git a/cpp/test/Ice/operations/TestI.cpp b/cpp/test/Ice/operations/TestI.cpp index ddbcffedd7f..6e2f62ec446 100644 --- a/cpp/test/Ice/operations/TestI.cpp +++ b/cpp/test/Ice/operations/TestI.cpp @@ -78,12 +78,6 @@ MyDerivedClassI::shutdown(const Ice::Current& current) } void -MyDerivedClassI::delay(Ice::Int ms, const Ice::Current&) -{ - IceUtil::ThreadControl::sleep(IceUtil::Time::milliSeconds(ms)); -} - -void MyDerivedClassI::opVoid(const Ice::Current& current) { test(current.mode == ICE_ENUM(OperationMode, Normal)); @@ -848,3 +842,44 @@ MyDerivedClassI::opWStringLiterals(const Ice::Current&) return data; } + +Test::Structure +MyDerivedClassI::opMStruct1(const Ice::Current&) +{ + return Test::Structure(); +} + + +Test::Structure +MyDerivedClassI::opMStruct2(ICE_IN(Test::Structure) p1, Test::Structure& p2, const Ice::Current&) +{ + p2 = p1; + return p1; +} + +Test::StringS +MyDerivedClassI::opMSeq1(const Ice::Current&) +{ + return Test::StringS(); +} + +Test::StringS +MyDerivedClassI::opMSeq2(ICE_IN(Test::StringS) p1, Test::StringS& p2, const Ice::Current&) +{ + p2 = p1; + return p1; +} + +Test::StringStringD +MyDerivedClassI::opMDict1(const Ice::Current&) +{ + return Test::StringStringD(); +} + +Test::StringStringD +MyDerivedClassI::opMDict2(ICE_IN(Test::StringStringD) p1, Test::StringStringD& p2, const Ice::Current&) +{ + p2 = p1; + return p1; +} + |