summaryrefslogtreecommitdiff
path: root/csharp/test/IceBox/configuration/AllTests.cs
diff options
context:
space:
mode:
Diffstat (limited to 'csharp/test/IceBox/configuration/AllTests.cs')
-rw-r--r--csharp/test/IceBox/configuration/AllTests.cs26
1 files changed, 11 insertions, 15 deletions
diff --git a/csharp/test/IceBox/configuration/AllTests.cs b/csharp/test/IceBox/configuration/AllTests.cs
index 4f6d5dd03f6..1263397667e 100644
--- a/csharp/test/IceBox/configuration/AllTests.cs
+++ b/csharp/test/IceBox/configuration/AllTests.cs
@@ -10,23 +10,19 @@
using System;
using Test;
-public class AllTests
+public class AllTests : TestCommon.AllTests
{
- private static void
- test(bool b)
+ public static void allTests(TestCommon.Application app)
{
- if(!b)
- {
- throw new Exception();
- }
- }
-
- public static void allTests(Ice.Communicator communicator)
- {
- TestIntfPrx service1 = TestIntfPrxHelper.uncheckedCast(communicator.stringToProxy("test:tcp -p 12010"));
- TestIntfPrx service2 = TestIntfPrxHelper.uncheckedCast(communicator.stringToProxy("test:tcp -p 12011"));
- TestIntfPrx service3 = TestIntfPrxHelper.uncheckedCast(communicator.stringToProxy("test:tcp -p 12012"));
- TestIntfPrx service4 = TestIntfPrxHelper.uncheckedCast(communicator.stringToProxy("test:tcp -p 12013"));
+ Ice.Communicator communicator = app.communicator();
+ TestIntfPrx service1 = TestIntfPrxHelper.uncheckedCast(communicator.stringToProxy("test:" +
+ app.getTestEndpoint(0)));
+ TestIntfPrx service2 = TestIntfPrxHelper.uncheckedCast(communicator.stringToProxy("test:" +
+ app.getTestEndpoint(1)));
+ TestIntfPrx service3 = TestIntfPrxHelper.uncheckedCast(communicator.stringToProxy("test:" +
+ app.getTestEndpoint(2)));
+ TestIntfPrx service4 = TestIntfPrxHelper.uncheckedCast(communicator.stringToProxy("test:" +
+ app.getTestEndpoint(3)));
if(service1.getProperty("IceBox.InheritProperties").Equals(""))
{