diff options
Diffstat (limited to 'cpp/test/Ice/operations/Twoways.cpp')
-rw-r--r-- | cpp/test/Ice/operations/Twoways.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cpp/test/Ice/operations/Twoways.cpp b/cpp/test/Ice/operations/Twoways.cpp index 950bb3da412..aef5e5fbdf8 100644 --- a/cpp/test/Ice/operations/Twoways.cpp +++ b/cpp/test/Ice/operations/Twoways.cpp @@ -598,15 +598,18 @@ twoways(const Test::MyClassPrx& p) ctx["two"] = "TWO"; ctx["three"] = "THREE"; { + test(p->ice_getContext().empty()); Test::StringStringD r = p->opContext(); test(r != ctx); } { + test(p->ice_getContext().empty()); Test::StringStringD r = p->opContext(ctx); test(r == ctx); } { Test::MyClassPrx p2 = Test::MyClassPrx::checkedCast(p->ice_newContext(ctx)); + test(p2->ice_getContext() == ctx); Test::StringStringD r = p2->opContext(); test(r == ctx); r = p2->opContext(ctx); |