diff options
Diffstat (limited to 'ACE/tests/MT_Reference_Counted_Notify_Test.cpp')
-rw-r--r-- | ACE/tests/MT_Reference_Counted_Notify_Test.cpp | 41 |
1 files changed, 18 insertions, 23 deletions
diff --git a/ACE/tests/MT_Reference_Counted_Notify_Test.cpp b/ACE/tests/MT_Reference_Counted_Notify_Test.cpp index 713e81d6a5e..b79a017ed30 100644 --- a/ACE/tests/MT_Reference_Counted_Notify_Test.cpp +++ b/ACE/tests/MT_Reference_Counted_Notify_Test.cpp @@ -1,22 +1,19 @@ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// tests -// -// = FILENAME -// MT_Reference_Counted_Notify_Test.cpp -// -// = DESCRIPTION -// This test is used to check reference counting of the event -// handlers when it interacts with the reactor notification -// mechanism. -// -// = AUTHOR -// Irfan Pyarali <irfan@oomworks.com> -// -// ============================================================================ + +//============================================================================= +/** + * @file MT_Reference_Counted_Notify_Test.cpp + * + * $Id$ + * + * This test is used to check reference counting of the event + * handlers when it interacts with the reactor notification + * mechanism. + * + * + * @author Irfan Pyarali <irfan@oomworks.com> + */ +//============================================================================= + #include "test_config.h" #include "ace/OS_NS_unistd.h" @@ -28,8 +25,6 @@ #include "ace/Task.h" #include "ace/Get_Opt.h" -ACE_RCSID(tests, MT_Reference_Counted_Notify_Test, "$Id$") - #if defined (ACE_HAS_THREADS) static int test_select_reactor = 1; @@ -242,7 +237,7 @@ notify (ACE_Reactor &reactor, int result = event_loop_thread.activate (); - ACE_ASSERT (result == 0); + ACE_TEST_ASSERT (result == 0); for (int i = 0; i < iterations; @@ -253,7 +248,7 @@ notify (ACE_Reactor &reactor, result = reactor.notify (event_handler, ACE_Event_Handler::READ_MASK); - ACE_ASSERT (result == 0); + ACE_TEST_ASSERT (result == 0); } thread_manager.wait (); |