summaryrefslogtreecommitdiff
path: root/matlab/test/Ice/enums/client.m
blob: 4da3b0ea7214defddf9df33ed851c9e117a9d9c9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
%
% Copyright (c) ZeroC, Inc. All rights reserved.
%

function client(args)
    addpath('generated');
    if ~libisloaded('ice')
        loadlibrary('ice', @iceproto)
    end

    helper = TestHelper();
    communicator = helper.initialize(args);
    cleanup = onCleanup(@() communicator.destroy());
    test = AllTests.allTests(helper);
    test.shutdown();

    clear('classes'); % Avoids conflicts with tests that define the same symbols.
end