diff options
author | Michi Henning <michi@zeroc.com> | 2004-03-29 03:40:57 +0000 |
---|---|---|
committer | Michi Henning <michi@zeroc.com> | 2004-03-29 03:40:57 +0000 |
commit | a766495f65576d8e2e9a6eacd00c25c85547115d (patch) | |
tree | 4a22f9c62e21da98894f8df0fe75b5fbda90b266 /cs/test/Ice/inheritance/Client.cs | |
parent | Removed warning about unused variable. (diff) | |
download | ice-a766495f65576d8e2e9a6eacd00c25c85547115d.tar.bz2 ice-a766495f65576d8e2e9a6eacd00c25c85547115d.tar.xz ice-a766495f65576d8e2e9a6eacd00c25c85547115d.zip |
*** empty log message ***
Diffstat (limited to 'cs/test/Ice/inheritance/Client.cs')
-rwxr-xr-x | cs/test/Ice/inheritance/Client.cs | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/cs/test/Ice/inheritance/Client.cs b/cs/test/Ice/inheritance/Client.cs new file mode 100755 index 00000000000..5d08c46928f --- /dev/null +++ b/cs/test/Ice/inheritance/Client.cs @@ -0,0 +1,55 @@ +// **********************************************************************
+//
+// Copyright (c) 2003
+// ZeroC, Inc.
+// Billerica, MA, USA
+//
+// All Rights Reserved.
+//
+// Ice is free software; you can redistribute it and/or modify it under
+// the terms of the GNU General Public License version 2 as published by
+// the Free Software Foundation.
+//
+// **********************************************************************
+
+public class Client
+{
+ private static int run(string[] args, Ice.Communicator communicator)
+ {
+ InitialPrx initial = AllTests.allTests(communicator);
+ initial.shutdown();
+ return 0;
+ }
+
+ public static void Main(string[] args)
+ {
+ int status = 0;
+ Ice.Communicator communicator = null;
+
+ try
+ {
+ communicator = Ice.Util.initialize(ref args);
+ status = run(args, communicator);
+ }
+ catch(System.Exception ex)
+ {
+ System.Console.Error.WriteLine(ex);
+ status = 1;
+ }
+
+ if(communicator != null)
+ {
+ try
+ {
+ communicator.destroy();
+ }
+ catch(Ice.LocalException ex)
+ {
+ System.Console.Error.WriteLine(ex);
+ status = 1;
+ }
+ }
+
+ System.Environment.Exit(status);
+ }
+}
|