diff options
Diffstat (limited to 'java/test/Ice/classLoader/Client.java')
-rw-r--r-- | java/test/Ice/classLoader/Client.java | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/java/test/Ice/classLoader/Client.java b/java/test/Ice/classLoader/Client.java new file mode 100644 index 00000000000..6febef6417e --- /dev/null +++ b/java/test/Ice/classLoader/Client.java @@ -0,0 +1,37 @@ +// ********************************************************************** +// +// Copyright (c) 2003-2009 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. +// +// ********************************************************************** + +package test.Ice.classLoader; + +public class Client extends test.Util.Application +{ + public int run(String[] args) + { + AllTests.allTests(false, getWriter(), _initData); + return 0; + } + + protected Ice.InitializationData getInitData(Ice.StringSeqHolder argsH) + { + _initData = new Ice.InitializationData(); + _initData.properties = Ice.Util.createProperties(argsH); + _initData.properties.setProperty("Ice.Package.Test", "test.Ice.classLoader"); + return _initData; + } + + public static void main(String[] args) + { + Client app = new Client(); + int result = app.main("Client", args); + System.gc(); + System.exit(result); + } + + private Ice.InitializationData _initData; +} |