From 0aa49ef5c2d1ccab20888c3257678acb986cbd67 Mon Sep 17 00:00:00 2001 From: mk1 Date: Fri, 20 Jul 2001 13:13:05 +0000 Subject: ChangeLogTag: Fri Jul 20 08:10:00 2001 Michael Kircher --- TAO/tests/AMI/simple_client.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'TAO/tests/AMI/simple_client.cpp') 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, -- cgit v1.2.1