diff options
Diffstat (limited to 'cs/test/Ice/servantLocator/Client.cs')
-rwxr-xr-x | cs/test/Ice/servantLocator/Client.cs | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/cs/test/Ice/servantLocator/Client.cs b/cs/test/Ice/servantLocator/Client.cs new file mode 100755 index 00000000000..e926daaf993 --- /dev/null +++ b/cs/test/Ice/servantLocator/Client.cs @@ -0,0 +1,33 @@ +// ********************************************************************** +// +// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. +// +// This copy of Ice is licensed to you under the terms described in the +// ICE_LICENSE file included in this distribution. +// +// ********************************************************************** + +using Test; + +public class Client +{ + internal class TestClient : Ice.Application + { + public override int run(string[] args) + { + TestIntfPrx obj = AllTests.allTests(communicator(), false); + obj.shutdown(); + return 0; + } + } + + public static void Main(string[] args) + { + TestClient app = new TestClient(); + int result = app.main(args); + if(result != 0) + { + System.Environment.Exit(result); + } + } +} |