summaryrefslogtreecommitdiff
path: root/csharp/test/Ice/defaultValue/Client.cs
diff options
context:
space:
mode:
Diffstat (limited to 'csharp/test/Ice/defaultValue/Client.cs')
-rw-r--r--csharp/test/Ice/defaultValue/Client.cs20
1 files changed, 4 insertions, 16 deletions
diff --git a/csharp/test/Ice/defaultValue/Client.cs b/csharp/test/Ice/defaultValue/Client.cs
index 8896ff77f82..eecb6e28e6f 100644
--- a/csharp/test/Ice/defaultValue/Client.cs
+++ b/csharp/test/Ice/defaultValue/Client.cs
@@ -16,30 +16,18 @@ using System.Reflection;
[assembly: AssemblyDescription("Ice test")]
[assembly: AssemblyCompany("ZeroC, Inc.")]
-public class Client
+public class Client : TestCommon.Application
{
- private static int run(string[] args)
+ public override int run(string[] args)
{
AllTests.allTests();
-
return 0;
}
public static int Main(string[] args)
{
- int status = 0;
-
- try
- {
- status = run(args);
- }
- catch(System.Exception ex)
- {
- Console.Error.WriteLine(ex);
- status = 1;
- }
-
- return status;
+ Client app = new Client();
+ return app.runmain(args);
}
}