summaryrefslogtreecommitdiff
path: root/csharp/test/Ice/ami/AllTests.cs
diff options
context:
space:
mode:
Diffstat (limited to 'csharp/test/Ice/ami/AllTests.cs')
-rw-r--r--csharp/test/Ice/ami/AllTests.cs9
1 files changed, 5 insertions, 4 deletions
diff --git a/csharp/test/Ice/ami/AllTests.cs b/csharp/test/Ice/ami/AllTests.cs
index 723097ca599..cf6e642e0dc 100644
--- a/csharp/test/Ice/ami/AllTests.cs
+++ b/csharp/test/Ice/ami/AllTests.cs
@@ -14,7 +14,7 @@ using System.Threading;
using System.Threading.Tasks;
using Test;
-public class AllTests : TestCommon.TestApp
+public class AllTests : TestCommon.AllTests
{
private class Cookie
{
@@ -700,15 +700,16 @@ public class AllTests : TestCommon.TestApp
ThrowType _t;
}
- public static void allTests(Ice.Communicator communicator, bool collocated)
+ public static void allTests(TestCommon.Application app, bool collocated)
{
- string sref = "test:default -p 12010";
+ Ice.Communicator communicator = app.communicator();
+ string sref = "test:" + app.getTestEndpoint(0);
Ice.ObjectPrx obj = communicator.stringToProxy(sref);
test(obj != null);
Test.TestIntfPrx p = Test.TestIntfPrxHelper.uncheckedCast(obj);
- sref = "testController:default -p 12011";
+ sref = "testController:" + app.getTestEndpoint(1);
obj = communicator.stringToProxy(sref);
test(obj != null);