summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>2001-12-15 22:24:28 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>2001-12-15 22:24:28 +0000
commitd999892c6ea8d91dad0cf98579b98689ee14efdd (patch)
treeafd55d9304561b8bdaf104238b5c099460742adc /tests
parent15c6a4889f74c1ead9c17062c69c2b57a02507d9 (diff)
downloadATCD-d999892c6ea8d91dad0cf98579b98689ee14efdd.tar.gz
ChangeLogTag:Sat Dec 15 09:30:31 2001 Douglas C. Schmidt <schmidt@macarena.cs.wustl.edu>
Diffstat (limited to 'tests')
-rw-r--r--tests/Logging_Strategy_Test.cpp2
-rw-r--r--tests/Message_Queue_Test_Ex.cpp10
2 files changed, 4 insertions, 8 deletions
diff --git a/tests/Logging_Strategy_Test.cpp b/tests/Logging_Strategy_Test.cpp
index 300df509913..0531acded2a 100644
--- a/tests/Logging_Strategy_Test.cpp
+++ b/tests/Logging_Strategy_Test.cpp
@@ -40,7 +40,7 @@
#if defined (ACE_AS_STATIC_LIBS) || \
(!defined (ACE_WIN32) && !defined (ACE_HAS_SVR4_DYNAMIC_LINKING) && \
!defined (__hpux))
-#include "ace/Logging_Strategy.cpp"
+#include "ace/Logging_Strategy.h"
#endif
#include "ace/Auto_Ptr.cpp"
diff --git a/tests/Message_Queue_Test_Ex.cpp b/tests/Message_Queue_Test_Ex.cpp
index 989dd6394c3..dfc365be7c6 100644
--- a/tests/Message_Queue_Test_Ex.cpp
+++ b/tests/Message_Queue_Test_Ex.cpp
@@ -114,8 +114,7 @@ single_thread_performance_test (void)
for (i = 0; i < max_messages; ++i)
ACE_NEW_RETURN (send_block[i],
- User_Class (test_message,
- MAX_MESSAGE_SIZE),
+ User_Class (test_message),
-1);
UserBlock **receive_block_p = 0;
@@ -251,8 +250,7 @@ performance_test (void)
for (i = 0; i < max_messages; ++i)
ACE_NEW_RETURN (send_block[i],
- User_Class (test_message,
- MAX_MESSAGE_SIZE),
+ User_Class (test_message),
-1);
queue_wrapper.send_block_ = send_block;
@@ -321,7 +319,7 @@ main (int argc, ACE_TCHAR *argv[])
}
else {
User_Class *b;
- ACE_Time_Value tv (ACE_OS::gettimeofday()); // Now
+ ACE_Time_Value tv (ACE_OS::gettimeofday ()); // Now
if (q1.dequeue_head (b, &tv) != -1) {
ACE_ERROR ((LM_ERROR, ACE_TEXT ("Dequeued from empty queue!\n")));
status = 1;
@@ -339,11 +337,9 @@ main (int argc, ACE_TCHAR *argv[])
#if !defined (VXWORKS)
#endif /* ! VXWORKS */
-
ACE_NEW_RETURN (timer,
ACE_High_Res_Timer,
-1);
-
#if defined (ACE_HAS_THREADS)
if (status == 0)
single_thread_performance_test ();