summaryrefslogtreecommitdiff
path: root/csharp/test/Ice/operations/Twoways.cs
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2016-11-25 13:13:22 +0100
committerBenoit Foucher <benoit@zeroc.com>2016-11-25 13:13:22 +0100
commitdcdc32af1fced49d80a8ccd93230e15d91ab45d8 (patch)
treeeb69e2555fbd54496fce8a33f4dd610e1473ff51 /csharp/test/Ice/operations/Twoways.cs
parentC# IceSSL/configuration log expired certificate exceptions. (diff)
downloadice-dcdc32af1fced49d80a8ccd93230e15d91ab45d8.tar.bz2
ice-dcdc32af1fced49d80a8ccd93230e15d91ab45d8.tar.xz
ice-dcdc32af1fced49d80a8ccd93230e15d91ab45d8.zip
Refactored test scripts
Diffstat (limited to 'csharp/test/Ice/operations/Twoways.cs')
-rw-r--r--csharp/test/Ice/operations/Twoways.cs5
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));