diff options
Diffstat (limited to 'cpp/test/Ice/operations/Twoways.cpp')
-rw-r--r-- | cpp/test/Ice/operations/Twoways.cpp | 22 |
1 files changed, 8 insertions, 14 deletions
diff --git a/cpp/test/Ice/operations/Twoways.cpp b/cpp/test/Ice/operations/Twoways.cpp index d3d8683b3c0..6511aad58c7 100644 --- a/cpp/test/Ice/operations/Twoways.cpp +++ b/cpp/test/Ice/operations/Twoways.cpp @@ -133,23 +133,17 @@ twoways(const Test::MyClassPrx& p) r = p->opMyClass(p, c1, c2); test(c1 == p); test(c2 != p); -// test(r == p); // ASN: Fails! - test(c1->_getIdentity() == "test"); - test(c2->_getIdentity() == "noSuchIdentity"); - test(r->_getIdentity() == "test"); -// r->opVoid(); // ASN: fails + test(r == p); + test(c1->_ice_getIdentity() == "test"); + test(c2->_ice_getIdentity() == "noSuchIdentity"); + test(r->_ice_getIdentity() == "test"); + r->opVoid(); c1->opVoid(); try { c2->opVoid(); test(false); - }
- catch(const Ice::NoEndpointException&)
- {
- // ASN: Due to the same problem as listed for r, this proxy is not secure. It then, in Proxy.cpp line 547, we get
- // as NoEndpointException as the reference is not secure and all secure endpoints (the only ones that should be there)
- // have been culled.
- } + } catch(const Ice::ObjectNotExistException&) { } @@ -157,8 +151,8 @@ twoways(const Test::MyClassPrx& p) r = p->opMyClass(0, c1, c2); test(c1 == 0); test(c2 != 0); -// test(r == p); // ASN: fails -// r->opVoid(); // ASN: fails + test(r == p); + r->opVoid(); try { c1->opVoid(); |