summaryrefslogtreecommitdiff
path: root/TAO/tests/AMI/simple_client.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tests/AMI/simple_client.cpp')
-rw-r--r--TAO/tests/AMI/simple_client.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/TAO/tests/AMI/simple_client.cpp b/TAO/tests/AMI/simple_client.cpp
index f6e69bd445e..77c14b0e919 100644
--- a/TAO/tests/AMI/simple_client.cpp
+++ b/TAO/tests/AMI/simple_client.cpp
@@ -209,6 +209,16 @@ main (int argc, char *argv[])
handler._this (ACE_TRY_ENV);
ACE_TRY_CHECK;
+ // Try out sending asynchronous messages without a reply handler
+ // registered. Things fail if we get an exception.
+
+ ami_test_var->sendc_foo (A::AMI_AMI_TestHandler::_nil (),
+ 0,
+ "",
+ ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+
// Trigger the DidTheRightThing exception on the server side
// by sending 0 to it.
ACE_DEBUG ((LM_DEBUG,