summaryrefslogtreecommitdiff
path: root/csharp/test/Ice/faultTolerance/AllTests.cs
diff options
context:
space:
mode:
Diffstat (limited to 'csharp/test/Ice/faultTolerance/AllTests.cs')
-rw-r--r--csharp/test/Ice/faultTolerance/AllTests.cs7
1 files changed, 4 insertions, 3 deletions
diff --git a/csharp/test/Ice/faultTolerance/AllTests.cs b/csharp/test/Ice/faultTolerance/AllTests.cs
index 7d47a3edf96..54541e5fec2 100644
--- a/csharp/test/Ice/faultTolerance/AllTests.cs
+++ b/csharp/test/Ice/faultTolerance/AllTests.cs
@@ -12,7 +12,7 @@ using System.Diagnostics;
using System.Collections.Generic;
using Test;
-public class AllTests : TestCommon.TestApp
+public class AllTests : TestCommon.AllTests
{
private class Callback
{
@@ -69,14 +69,15 @@ public class AllTests : TestCommon.TestApp
}
}
- public static void allTests(Ice.Communicator communicator, List<int> ports)
+ public static void allTests(TestCommon.Application app, List<int> ports)
{
+ Ice.Communicator communicator = app.communicator();
Write("testing stringToProxy... ");
Flush();
string refString = "test";
for(int i = 0; i < ports.Count; i++)
{
- refString += ":default -p " + ports[i];
+ refString += ":" + app.getTestEndpoint(ports[i]);
}
Ice.ObjectPrx basePrx = communicator.stringToProxy(refString);
test(basePrx != null);