summaryrefslogtreecommitdiff
path: root/matlab/test/Ice/binding/client.m
blob: e82b8bae8dc41de71db9a1871dfb6254eb2c1f34 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
%
% 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());
    AllTests.allTests(helper);

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