diff options
Diffstat (limited to 'cpp/test/Ice/operations/Twoways.cpp')
-rw-r--r-- | cpp/test/Ice/operations/Twoways.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/cpp/test/Ice/operations/Twoways.cpp b/cpp/test/Ice/operations/Twoways.cpp index 4653086f2bf..86c7ab4c959 100644 --- a/cpp/test/Ice/operations/Twoways.cpp +++ b/cpp/test/Ice/operations/Twoways.cpp @@ -648,7 +648,7 @@ twoways(const Ice::CommunicatorPtr& communicator, const Test::MyClassPrx& p) Ice::Context dflt; dflt["a"] = "b"; communicator->setDefaultContext(dflt); - test(p->opContext() == dflt); + test(p->opContext() != dflt); Test::MyClassPrx p2 = Test::MyClassPrx::uncheckedCast(p->ice_newContext(Ice::Context())); test(p2->opContext().empty()); @@ -657,8 +657,7 @@ twoways(const Ice::CommunicatorPtr& communicator, const Test::MyClassPrx& p) test(p2->opContext() == dflt); communicator->setDefaultContext(Ice::Context()); - test(p->opContext().empty()); - test(p2->opContext().empty()); + test(!p2->opContext().empty()); } } } |