summaryrefslogtreecommitdiff
path: root/cpp/test/Ice/ami/TestI.cpp
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2016-02-15 18:53:52 +0100
committerBenoit Foucher <benoit@zeroc.com>2016-02-15 18:53:52 +0100
commit20ac3bf6e9ec646a65308a7ecda8877bd1330933 (patch)
treeca950ef8ccf2b2848713a892db46df4ec54fc871 /cpp/test/Ice/ami/TestI.cpp
parentFixed bug where user exceptions weren't reported if response callback was nul... (diff)
downloadice-20ac3bf6e9ec646a65308a7ecda8877bd1330933.tar.bz2
ice-20ac3bf6e9ec646a65308a7ecda8877bd1330933.tar.xz
ice-20ac3bf6e9ec646a65308a7ecda8877bd1330933.zip
Fixed AMI bug where exception wasn't called if response callback was null, added tests
Diffstat (limited to 'cpp/test/Ice/ami/TestI.cpp')
-rw-r--r--cpp/test/Ice/ami/TestI.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/cpp/test/Ice/ami/TestI.cpp b/cpp/test/Ice/ami/TestI.cpp
index 066dabb56d8..6e066e72ca9 100644
--- a/cpp/test/Ice/ami/TestI.cpp
+++ b/cpp/test/Ice/ami/TestI.cpp
@@ -35,6 +35,12 @@ TestIntfI::opWithUE(const Ice::Current&)
throw Test::TestIntfException();
}
+int
+TestIntfI::opWithResultAndUE(const Ice::Current&)
+{
+ throw Test::TestIntfException();
+}
+
void
TestIntfI::opWithPayload(ICE_IN(Ice::ByteSeq), const Ice::Current&)
{