summaryrefslogtreecommitdiff
path: root/python/test
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2018-02-13 12:35:22 +0100
committerBenoit Foucher <benoit@zeroc.com>2018-02-13 14:15:36 +0100
commit9358fdee4360f40451641f49fcd38b177f93c4ad (patch)
tree8ff4ec1deb284d1c4335c9ea3a57c12ee4c2953d /python/test
parentFix building PHP with Windows C++ NuGet packages (diff)
downloadice-9358fdee4360f40451641f49fcd38b177f93c4ad.tar.bz2
ice-9358fdee4360f40451641f49fcd38b177f93c4ad.tar.xz
ice-9358fdee4360f40451641f49fcd38b177f93c4ad.zip
Fixed UWP cross operation test failure
Diffstat (limited to 'python/test')
-rw-r--r--python/test/Ice/operations/Test.ice2
-rwxr-xr-xpython/test/Ice/operations/TestAMDI.py3
-rw-r--r--python/test/Ice/operations/TestI.py3
3 files changed, 8 insertions, 0 deletions
diff --git a/python/test/Ice/operations/Test.ice b/python/test/Ice/operations/Test.ice
index ad12e426866..1a6adf0c5ca 100644
--- a/python/test/Ice/operations/Test.ice
+++ b/python/test/Ice/operations/Test.ice
@@ -95,6 +95,8 @@ interface MyClass
{
void shutdown();
+ bool supportsCompress();
+
void opVoid();
byte opByte(byte p1, byte p2,
diff --git a/python/test/Ice/operations/TestAMDI.py b/python/test/Ice/operations/TestAMDI.py
index 7c095a9a529..f5e0bb10e1a 100755
--- a/python/test/Ice/operations/TestAMDI.py
+++ b/python/test/Ice/operations/TestAMDI.py
@@ -63,6 +63,9 @@ class MyDerivedClassI(Test.MyDerivedClass):
current.adapter.getCommunicator().shutdown()
+ def supportsCompress(self, current=None):
+ return Ice.Future.completed(True)
+
def opVoid(self, current=None):
test(current.mode == Ice.OperationMode.Normal)
diff --git a/python/test/Ice/operations/TestI.py b/python/test/Ice/operations/TestI.py
index c58e4729b48..84eb7df938e 100644
--- a/python/test/Ice/operations/TestI.py
+++ b/python/test/Ice/operations/TestI.py
@@ -37,6 +37,9 @@ class MyDerivedClassI(Test.MyDerivedClass):
def shutdown(self, current=None):
current.adapter.getCommunicator().shutdown()
+ def supportsCompress(self, current=None):
+ return True
+
def opVoid(self, current=None):
test(current.mode == Ice.OperationMode.Normal)