ICE 3.4.2
[php5-ice-freebsdport.git] / java / test / Ice / facets / Client.java
blob85621824314cc9f00e872a0bfb0c31ab934ba89c
1 // **********************************************************************
2 //
3 // Copyright (c) 2003-2011 ZeroC, Inc. All rights reserved.
4 //
5 // This copy of Ice is licensed to you under the terms described in the
6 // ICE_LICENSE file included in this distribution.
7 //
8 // **********************************************************************
10 package test.Ice.facets;
12 import test.Ice.facets.Test.GPrx;
14 public class Client extends test.Util.Application
16 public int run(String[] args)
18 Ice.Communicator communicator = communicator();
19 GPrx g = AllTests.allTests(communicator, getWriter());
20 g.shutdown();
21 return 0;
24 protected Ice.InitializationData getInitData(Ice.StringSeqHolder argsH)
26 Ice.InitializationData initData = new Ice.InitializationData();
27 initData.properties = Ice.Util.createProperties(argsH);
28 initData.properties.setProperty("Ice.Package.Test", "test.Ice.binding");
29 return initData;
32 public static void main(String[] args)
34 Client app = new Client();
35 int result = app.main("Client", args);
36 System.gc();
37 System.exit(result);