summaryrefslogtreecommitdiff
path: root/csharp/test/Ice/invoke/AllTests.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/invoke/AllTests.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/invoke/AllTests.cs')
-rw-r--r--csharp/test/Ice/invoke/AllTests.cs7
1 files changed, 4 insertions, 3 deletions
diff --git a/csharp/test/Ice/invoke/AllTests.cs b/csharp/test/Ice/invoke/AllTests.cs
index 23c321d80f3..7ea73c5feb3 100644
--- a/csharp/test/Ice/invoke/AllTests.cs
+++ b/csharp/test/Ice/invoke/AllTests.cs
@@ -13,7 +13,7 @@ using System.Collections.Generic;
using System.Diagnostics;
-public class AllTests : TestCommon.TestApp
+public class AllTests : TestCommon.AllTests
{
private static string testString = "This is a test string";
@@ -182,9 +182,10 @@ public class AllTests : TestCommon.TestApp
private CallbackBase callback = new CallbackBase();
}
- public static Test.MyClassPrx allTests(Ice.Communicator communicator)
+ public static Test.MyClassPrx allTests(TestCommon.Application app)
{
- Ice.ObjectPrx baseProxy = communicator.stringToProxy("test:default -p 12010");
+ Ice.Communicator communicator = app.communicator();
+ Ice.ObjectPrx baseProxy = communicator.stringToProxy("test:" + app.getTestEndpoint(0));
Test.MyClassPrx cl = Test.MyClassPrxHelper.checkedCast(baseProxy);
Test.MyClassPrx oneway = Test.MyClassPrxHelper.uncheckedCast(cl.ice_oneway());
Test.MyClassPrx batchOneway = Test.MyClassPrxHelper.uncheckedCast(cl.ice_batchOneway());