diff options
Diffstat (limited to 'matlab/test/Ice/acm/Client.m')
-rw-r--r-- | matlab/test/Ice/acm/Client.m | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/matlab/test/Ice/acm/Client.m b/matlab/test/Ice/acm/Client.m new file mode 100644 index 00000000000..7cde23db42b --- /dev/null +++ b/matlab/test/Ice/acm/Client.m @@ -0,0 +1,37 @@ +%{ +********************************************************************** + +Copyright (c) 2003-2017 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. + +********************************************************************** +%} + +classdef Client < Application + methods + function r = run(obj, args) + AllTests.allTests(obj); + r = 0; + end + end + methods(Access=protected) + function [r, remArgs] = getInitData(obj, args) + [initData, remArgs] = getInitData@Application(obj, args); + initData.properties_.setProperty('Ice.Package.Test', 'test.Ice.acm'); + initData.properties_.setProperty('Ice.Warn.Connections', '0'); + r = initData; + end + end + methods(Static) + function status = start(args) + addpath('generated'); + if ~libisloaded('icematlab') + loadlibrary('icematlab') + end + c = Client(); + status = c.main('Client', args); + end + end +end |