summaryrefslogtreecommitdiff
path: root/csharp/test/Ice/servantLocator/Client.cs
diff options
context:
space:
mode:
Diffstat (limited to 'csharp/test/Ice/servantLocator/Client.cs')
-rw-r--r--csharp/test/Ice/servantLocator/Client.cs18
1 files changed, 7 insertions, 11 deletions
diff --git a/csharp/test/Ice/servantLocator/Client.cs b/csharp/test/Ice/servantLocator/Client.cs
index b6de8d4f0fc..b7de5b2bb15 100644
--- a/csharp/test/Ice/servantLocator/Client.cs
+++ b/csharp/test/Ice/servantLocator/Client.cs
@@ -17,22 +17,18 @@ using System.Reflection;
[assembly: AssemblyDescription("Ice test")]
[assembly: AssemblyCompany("ZeroC, Inc.")]
-public class Client
+public class Client : TestCommon.Application
{
- internal class App : Ice.Application
+ public override int run(string[] args)
{
- public override int run(string[] args)
- {
- TestIntfPrx obj = AllTests.allTests(communicator());
- obj.shutdown();
- return 0;
- }
+ TestIntfPrx obj = AllTests.allTests(this);
+ obj.shutdown();
+ return 0;
}
public static int Main(string[] args)
{
- Ice.InitializationData data = new Ice.InitializationData();
- App app = new App();
- return app.main(args, data);
+ Client app = new Client();
+ return app.runmain(args);
}
}