summaryrefslogtreecommitdiff
path: root/tests/MT_Reactor_Timer_Test.cpp
diff options
context:
space:
mode:
authordhinton <dhinton@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2003-05-17 21:49:04 +0000
committerdhinton <dhinton@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2003-05-17 21:49:04 +0000
commitb1e7304b4fa05fcaa09753a9e77fa2dca85fe09e (patch)
treef6f6d6c005bf2d97bdb450d27bb26fa461ac3d90 /tests/MT_Reactor_Timer_Test.cpp
parente83a1631cd3ba3acab4d3583b3428f15ee0b29ac (diff)
downloadATCD-b1e7304b4fa05fcaa09753a9e77fa2dca85fe09e.tar.gz
ChangeLogTag:Sat May 17 19:31:43 UTC 2003 Don Hinton <dhinton@dresystems.com>dre_030425
Diffstat (limited to 'tests/MT_Reactor_Timer_Test.cpp')
-rw-r--r--tests/MT_Reactor_Timer_Test.cpp7
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")));