From 69ab9df0b58233ca893407b0ef9fae5376413c06 Mon Sep 17 00:00:00 2001 From: Marc Laukien Date: Thu, 6 Dec 2001 20:50:34 +0000 Subject: Ice.DefaultHost, Ice.DefaultProtocol --- cpp/test/Ice/inheritance/AllTests.cpp | 19 +------------------ 1 file changed, 1 insertion(+), 18 deletions(-) (limited to 'cpp/test/Ice/inheritance/AllTests.cpp') diff --git a/cpp/test/Ice/inheritance/AllTests.cpp b/cpp/test/Ice/inheritance/AllTests.cpp index 31fcfd902b3..89efb521eb3 100644 --- a/cpp/test/Ice/inheritance/AllTests.cpp +++ b/cpp/test/Ice/inheritance/AllTests.cpp @@ -17,25 +17,8 @@ using namespace std; InitialPrx allTests(const Ice::CommunicatorPtr& communicator) { - Ice::PropertiesPtr properties = communicator->getProperties(); - - string protocol = properties->getProperty("Ice.Protocol"); - - if (protocol.empty()) - { - protocol = "tcp"; - } - - string secureFlag; - - if (!protocol.compare("ssl")) - { - secureFlag = " -s "; - } - - string ref = "initial" + secureFlag + ":" + protocol + " -p 12345 -t 2000"; - cout << "testing stringToProxy... " << flush; + string ref = "initial:default -p 12345 -t 2000"; Ice::ObjectPrx base = communicator->stringToProxy(ref); test(base); cout << "ok" << endl; -- cgit v1.2.3