diff options
author | Michi Henning <michi@zeroc.com> | 2003-08-27 08:59:34 +0000 |
---|---|---|
committer | Michi Henning <michi@zeroc.com> | 2003-08-27 08:59:34 +0000 |
commit | 3e55486ea753901101bed6974e872d0002c8aaed (patch) | |
tree | a615409a0cf6472a00162709cd007ff045b690c8 /cpp/test | |
parent | Added test for ice_getContext(). (diff) | |
download | ice-3e55486ea753901101bed6974e872d0002c8aaed.tar.bz2 ice-3e55486ea753901101bed6974e872d0002c8aaed.tar.xz ice-3e55486ea753901101bed6974e872d0002c8aaed.zip |
Added per-proxy contexts to icej. For ice, added context to operator== and
the hash function for proxies.
Diffstat (limited to 'cpp/test')
-rw-r--r-- | cpp/test/Ice/operations/Twoways.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/test/Ice/operations/Twoways.cpp b/cpp/test/Ice/operations/Twoways.cpp index aef5e5fbdf8..a937f19922b 100644 --- a/cpp/test/Ice/operations/Twoways.cpp +++ b/cpp/test/Ice/operations/Twoways.cpp @@ -598,13 +598,13 @@ twoways(const Test::MyClassPrx& p) ctx["two"] = "TWO"; ctx["three"] = "THREE"; { - test(p->ice_getContext().empty()); Test::StringStringD r = p->opContext(); + test(p->ice_getContext().empty()); test(r != ctx); } { - test(p->ice_getContext().empty()); Test::StringStringD r = p->opContext(ctx); + test(p->ice_getContext().empty()); test(r == ctx); } { |