diff options
author | Marc Laukien <marc@zeroc.com> | 2003-01-30 16:17:35 +0000 |
---|---|---|
committer | Marc Laukien <marc@zeroc.com> | 2003-01-30 16:17:35 +0000 |
commit | ee691ff3fa0882ffa02117b5156f76e5af2ea9be (patch) | |
tree | 5aa661cbb4a0d521512e15631dec2b066719f01c /cpp/test/Ice/operations/Twoways.cpp | |
parent | disable SSLv2 (diff) | |
download | ice-ee691ff3fa0882ffa02117b5156f76e5af2ea9be.tar.bz2 ice-ee691ff3fa0882ffa02117b5156f76e5af2ea9be.tar.xz ice-ee691ff3fa0882ffa02117b5156f76e5af2ea9be.zip |
compression cleanup
Diffstat (limited to 'cpp/test/Ice/operations/Twoways.cpp')
-rw-r--r-- | cpp/test/Ice/operations/Twoways.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cpp/test/Ice/operations/Twoways.cpp b/cpp/test/Ice/operations/Twoways.cpp index bd9284311c3..fb676802ef4 100644 --- a/cpp/test/Ice/operations/Twoways.cpp +++ b/cpp/test/Ice/operations/Twoways.cpp @@ -126,9 +126,9 @@ twoways(const Test::MyClassPrx& p) Test::MyClassPrx r; r = p->opMyClass(p, c1, c2); - test(c1 == p); - test(c2 != p); - //test(r == p); + test(Ice::proxyIdentityAndFacetEqual(c1, p)); + test(!Ice::proxyIdentityAndFacetEqual(c2, p)); + test(Ice::proxyIdentityAndFacetEqual(r, p)); test(c1->ice_getIdentity() == Ice::stringToIdentity("test")); test(c2->ice_getIdentity() == Ice::stringToIdentity("noSuchIdentity")); test(r->ice_getIdentity() == Ice::stringToIdentity("test")); @@ -146,7 +146,7 @@ twoways(const Test::MyClassPrx& p) r = p->opMyClass(0, c1, c2); test(c1 == 0); test(c2 != 0); - test(r == p); + test(Ice::proxyIdentityAndFacetEqual(r, p)); r->opVoid(); // TODO: For some reasons this test sometimes doesn't work on linux #ifdef _WIN32 |