diff options
Diffstat (limited to 'csharp/test/Ice/operations/Twoways.cs')
-rw-r--r-- | csharp/test/Ice/operations/Twoways.cs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/csharp/test/Ice/operations/Twoways.cs b/csharp/test/Ice/operations/Twoways.cs index d2166a195e2..e4af24c21f0 100644 --- a/csharp/test/Ice/operations/Twoways.cs +++ b/csharp/test/Ice/operations/Twoways.cs @@ -52,8 +52,9 @@ class Twoways private Thread _thread; } - internal static void twoways(Ice.Communicator communicator, Test.MyClassPrx p) + internal static void twoways(TestCommon.Application app, Test.MyClassPrx p) { + Ice.Communicator communicator = app.communicator(); string[] literals = p.opStringLiterals(); test(Test.s0.value.Equals("\\") && @@ -1452,7 +1453,7 @@ class Twoways ctx["three"] = "THREE"; Test.MyClassPrx p3 = Test.MyClassPrxHelper.uncheckedCast( - ic.stringToProxy("test:default -p 12010")); + ic.stringToProxy("test:" + app.getTestEndpoint(0))); ic.getImplicitContext().setContext(ctx); test(Ice.CollectionComparer.Equals(ic.getImplicitContext().getContext(), ctx)); |