blob: 2bb55598b2849f93307461e0159a5f884734d695 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
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)
test = AllTests.allTests(obj);
test.shutdown();
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.enums');
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
|