diff options
Diffstat (limited to 'tests/MT_Reactor_Timer_Test.cpp')
-rw-r--r-- | tests/MT_Reactor_Timer_Test.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/tests/MT_Reactor_Timer_Test.cpp b/tests/MT_Reactor_Timer_Test.cpp index f9f5b2b3c24..fbc64f078ef 100644 --- a/tests/MT_Reactor_Timer_Test.cpp +++ b/tests/MT_Reactor_Timer_Test.cpp @@ -21,6 +21,7 @@ #include "test_config.h" #include "MT_Reactor_Timer_Test.h" +#include "ace/ACE.h" ACE_RCSID(tests, MT_Reactor_Timer_Test, "$Id$") @@ -264,7 +265,7 @@ Dispatch_Count_Handler::verify_results (void) } int -ACE_TMAIN (int, ACE_TCHAR *[]) +run_main (int, ACE_TCHAR *[]) { ACE_START_TEST (ACE_TEXT ("MT_Reactor_Timer_Test")); @@ -305,7 +306,7 @@ ACE_TMAIN (int, ACE_TCHAR *[]) // All <ACE_MAX_TIMERS> + 2 I/O dispatches (one for <handle_input> // and the other for <handle_exception>) should be counted in // events. - if (events < ACE_MAX_TIMERS + 2) + if (events < ACE_MAX_TIMERS + 2) { ACE_ERROR ((LM_ERROR, ACE_TEXT ("expected %d events, got %d instead\n"), @@ -315,7 +316,7 @@ ACE_TMAIN (int, ACE_TCHAR *[]) } status = callback.verify_results (); - if (status != 0) + if (status != 0) { ACE_ERROR ((LM_ERROR, ACE_TEXT ("Dispatch counting test failed.\n"))); |