diff options
Diffstat (limited to 'cpp/test/Ice/exceptions/AllTests.cpp')
-rw-r--r-- | cpp/test/Ice/exceptions/AllTests.cpp | 22 |
1 files changed, 1 insertions, 21 deletions
diff --git a/cpp/test/Ice/exceptions/AllTests.cpp b/cpp/test/Ice/exceptions/AllTests.cpp index bd2b65646f1..343430d3b57 100644 --- a/cpp/test/Ice/exceptions/AllTests.cpp +++ b/cpp/test/Ice/exceptions/AllTests.cpp @@ -49,27 +49,7 @@ ThrowerPrx allTests(const Ice::CommunicatorPtr& communicator, bool collocated) { cout << "testing stringToProxy... " << flush; - string ref; - - Ice::PropertiesPtr properties = communicator->getProperties(); - - string protocol = properties->getProperty("Ice.Protocol"); - string secure; - - if (protocol.empty()) - { - protocol = "tcp"; - } - - if (protocol.compare("ssl") == 0) - { - secure = " -s "; - } - - string endpts = protocol + " -p 12345 -t 2000"; - - ref = "thrower" + secure + ":" + endpts; - + string ref = "thrower:default -p 12345 -t 2000"; Ice::ObjectPrx base = communicator->stringToProxy(ref); test(base); cout << "ok" << endl; |