diff options
author | Benoit Foucher <benoit@zeroc.com> | 2016-11-25 13:13:22 +0100 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2016-11-25 13:13:22 +0100 |
commit | dcdc32af1fced49d80a8ccd93230e15d91ab45d8 (patch) | |
tree | eb69e2555fbd54496fce8a33f4dd610e1473ff51 /scripts/tests/Ice/slicing/exceptions.py | |
parent | C# IceSSL/configuration log expired certificate exceptions. (diff) | |
download | ice-dcdc32af1fced49d80a8ccd93230e15d91ab45d8.tar.bz2 ice-dcdc32af1fced49d80a8ccd93230e15d91ab45d8.tar.xz ice-dcdc32af1fced49d80a8ccd93230e15d91ab45d8.zip |
Refactored test scripts
Diffstat (limited to 'scripts/tests/Ice/slicing/exceptions.py')
-rw-r--r-- | scripts/tests/Ice/slicing/exceptions.py | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/scripts/tests/Ice/slicing/exceptions.py b/scripts/tests/Ice/slicing/exceptions.py new file mode 100644 index 00000000000..beb5f64484a --- /dev/null +++ b/scripts/tests/Ice/slicing/exceptions.py @@ -0,0 +1,22 @@ +# ********************************************************************** +# +# Copyright (c) 2003-2016 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. +# +# ********************************************************************** + +testcases = [ + ClientServerTestCase(), + ClientServerTestCase("client/server with 1.0 encoding", props={ "Ice.Default.EncodingVersion" : "1.0" }), +] + +# If the mapping has AMD servers, also run with the AMD servers +if Mapping.getByPath(__name__).hasSource("Ice/exceptions", "serveramd"): + testcases += [ + ClientAMDServerTestCase(), + ClientAMDServerTestCase("client/amd server with 1.0 encoding", props={ "Ice.Default.EncodingVersion" : "1.0" }), + ] + +TestSuite(__name__, testcases)
\ No newline at end of file |