summaryrefslogtreecommitdiff
path: root/cpp/test/Ice/operations/TestI.cpp
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 /cpp/test/Ice/operations/TestI.cpp
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 'cpp/test/Ice/operations/TestI.cpp')
-rw-r--r--cpp/test/Ice/operations/TestI.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/cpp/test/Ice/operations/TestI.cpp b/cpp/test/Ice/operations/TestI.cpp
index 1d2de97466b..4d0f3c0584a 100644
--- a/cpp/test/Ice/operations/TestI.cpp
+++ b/cpp/test/Ice/operations/TestI.cpp
@@ -64,6 +64,16 @@ MyDerivedClassI::shutdown(const Ice::Current& current)
current.adapter->getCommunicator()->shutdown();
}
+bool
+MyDerivedClassI::supportsCompress(const Ice::Current& current)
+{
+#if defined(ICE_OS_UWP)
+ return false;
+#else
+ return true;
+#endif
+}
+
void
MyDerivedClassI::opVoid(const Ice::Current& current)
{