diff options
author | Mark Spruiell <mes@zeroc.com> | 2001-12-15 22:14:32 +0000 |
---|---|---|
committer | Mark Spruiell <mes@zeroc.com> | 2001-12-15 22:14:32 +0000 |
commit | 0d636760d254ab9ecec94338ad2a753ffcc85f80 (patch) | |
tree | 9aeaed871191b8bab59cab524b62360c5fb70d6d /java/test/Ice/inheritance/AllTests.java | |
parent | fixes (diff) | |
download | ice-0d636760d254ab9ecec94338ad2a753ffcc85f80.tar.bz2 ice-0d636760d254ab9ecec94338ad2a753ffcc85f80.tar.xz ice-0d636760d254ab9ecec94338ad2a753ffcc85f80.zip |
porting stable_30
Diffstat (limited to 'java/test/Ice/inheritance/AllTests.java')
-rw-r--r-- | java/test/Ice/inheritance/AllTests.java | 18 |
1 files changed, 1 insertions, 17 deletions
diff --git a/java/test/Ice/inheritance/AllTests.java b/java/test/Ice/inheritance/AllTests.java index 78124f2fe77..d9ee83cc79a 100644 --- a/java/test/Ice/inheritance/AllTests.java +++ b/java/test/Ice/inheritance/AllTests.java @@ -22,25 +22,9 @@ public class AllTests public static InitialPrx allTests(Ice.Communicator communicator) { - Ice.Properties properties = communicator.getProperties(); - - String protocol = properties.getProperty("Ice.Protocol"); - String secure = ""; - - if (protocol == null) - { - protocol = "tcp"; - } - - if (protocol.equals("ssl")) - { - secure = " -s "; - } - - String ref = "initial" + secure + ":" + protocol + " -p 12345 -t 2000"; - System.out.print("testing stringToProxy... "); System.out.flush(); + String ref = "initial:default -p 12345 -t 2000"; Ice.ObjectPrx base = communicator.stringToProxy(ref); test(base != null); System.out.println("ok"); |