summaryrefslogtreecommitdiff
path: root/cppe/test
diff options
context:
space:
mode:
authorBrent Eagles <brent@zeroc.com>2006-03-06 16:31:32 +0000
committerBrent Eagles <brent@zeroc.com>2006-03-06 16:31:32 +0000
commitc8410e7ee4a35219532fdd3d3a803d47e418ed8c (patch)
treeeb6e63f6645b4c870b5130773369aa98e49d2723 /cppe/test
parentUpdated compiler versions (diff)
downloadice-c8410e7ee4a35219532fdd3d3a803d47e418ed8c.tar.bz2
ice-c8410e7ee4a35219532fdd3d3a803d47e418ed8c.tar.xz
ice-c8410e7ee4a35219532fdd3d3a803d47e418ed8c.zip
fix cross platform testing bug
Diffstat (limited to 'cppe/test')
-rw-r--r--cppe/test/IceE/operations/Twoways.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/cppe/test/IceE/operations/Twoways.cpp b/cppe/test/IceE/operations/Twoways.cpp
index 3812374a522..7964ea6c288 100644
--- a/cppe/test/IceE/operations/Twoways.cpp
+++ b/cppe/test/IceE/operations/Twoways.cpp
@@ -660,8 +660,9 @@ twoways(const Ice::CommunicatorPtr& communicator, const Test::MyClassPrx& p)
test(!p2->opContext().empty());
communicator->setDefaultContext(dflt);
- Test::MyClassPrx c = Test::MyClassPrx::checkedCast(
- communicator->stringToProxy("test:default -p 12010 -t 10000"));
+ string ref = communicator->getProperties()->getPropertyWithDefault(
+ "Operations.Proxy", "test:default -p 12010 -t 10000");
+ Test::MyClassPrx c = Test::MyClassPrx::checkedCast(communicator->stringToProxy(ref));
test(c->opContext() == dflt);
dflt["a"] = "c";