summaryrefslogtreecommitdiff
path: root/csharp/test/Ice/operations/AllTests.cs
diff options
context:
space:
mode:
Diffstat (limited to 'csharp/test/Ice/operations/AllTests.cs')
-rw-r--r--csharp/test/Ice/operations/AllTests.cs19
1 files changed, 10 insertions, 9 deletions
diff --git a/csharp/test/Ice/operations/AllTests.cs b/csharp/test/Ice/operations/AllTests.cs
index 4854f467da5..ea3f0b1dcdc 100644
--- a/csharp/test/Ice/operations/AllTests.cs
+++ b/csharp/test/Ice/operations/AllTests.cs
@@ -7,37 +7,38 @@
//
// **********************************************************************
-public class AllTests : TestCommon.TestApp
+public class AllTests : TestCommon.AllTests
{
- public static Test.MyClassPrx allTests(Ice.Communicator communicator)
+ public static Test.MyClassPrx allTests(TestCommon.Application app)
{
+ Ice.Communicator communicator = app.communicator();
Flush();
- string rf = "test:default -p 12010";
+ string rf = "test:" + app.getTestEndpoint(0);
Ice.ObjectPrx baseProxy = communicator.stringToProxy(rf);
Test.MyClassPrx cl = Test.MyClassPrxHelper.checkedCast(baseProxy);
Test.MyDerivedClassPrx derivedProxy = Test.MyDerivedClassPrxHelper.checkedCast(cl);
Write("testing twoway operations... ");
Flush();
- Twoways.twoways(communicator, cl);
- Twoways.twoways(communicator, derivedProxy);
+ Twoways.twoways(app, cl);
+ Twoways.twoways(app, derivedProxy);
derivedProxy.opDerived();
WriteLine("ok");
Write("testing oneway operations... ");
Flush();
- Oneways.oneways(communicator, cl);
+ Oneways.oneways(app, cl);
WriteLine("ok");
Write("testing twoway operations with AMI... ");
Flush();
- TwowaysAMI.twowaysAMI(communicator, cl);
- TwowaysAMI.twowaysAMI(communicator, derivedProxy);
+ TwowaysAMI.twowaysAMI(app, cl);
+ TwowaysAMI.twowaysAMI(app, derivedProxy);
WriteLine("ok");
Write("testing oneway operations with AMI... ");
Flush();
- OnewaysAMI.onewaysAMI(communicator, cl);
+ OnewaysAMI.onewaysAMI(app, cl);
WriteLine("ok");
Write("testing batch oneway operations... ");