summaryrefslogtreecommitdiff
path: root/python/test
diff options
context:
space:
mode:
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)