summaryrefslogtreecommitdiff
path: root/cpp/test/Ice/inheritance/AllTests.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/test/Ice/inheritance/AllTests.cpp')
-rw-r--r--cpp/test/Ice/inheritance/AllTests.cpp19
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;