diff options
author | Marc Laukien <marc@zeroc.com> | 2001-12-06 20:50:34 +0000 |
---|---|---|
committer | Marc Laukien <marc@zeroc.com> | 2001-12-06 20:50:34 +0000 |
commit | 69ab9df0b58233ca893407b0ef9fae5376413c06 (patch) | |
tree | 6806c4360e50f519a6cf085e78ad81c503bba932 /cpp/test/Ice/inheritance/AllTests.cpp | |
parent | default protocol (diff) | |
download | ice-69ab9df0b58233ca893407b0ef9fae5376413c06.tar.bz2 ice-69ab9df0b58233ca893407b0ef9fae5376413c06.tar.xz ice-69ab9df0b58233ca893407b0ef9fae5376413c06.zip |
Ice.DefaultHost, Ice.DefaultProtocol
Diffstat (limited to 'cpp/test/Ice/inheritance/AllTests.cpp')
-rw-r--r-- | cpp/test/Ice/inheritance/AllTests.cpp | 19 |
1 files changed, 1 insertions, 18 deletions
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; |