1#
2# Copyright (c) ZeroC, Inc. All rights reserved.
3#
4
5testcases = [
6    ClientServerTestCase("client/server with compact format"),
7    ClientServerTestCase("client/server with sliced format", props={ "Ice.Default.SlicedFormat" : True }),
8]
9
10# If the mapping has AMD servers, also run with the AMD servers
11if Mapping.getByPath(__name__).hasSource("Ice/optional", "serveramd"):
12    testcases += [
13        ClientAMDServerTestCase("client/amd server with compact format"),
14        ClientAMDServerTestCase("client/amd server with sliced format", props={ "Ice.Default.SlicedFormat" : True }),
15    ]
16
17TestSuite(__name__, testcases)
18