summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/Aio_Platform_Test.cpp1
-rw-r--r--tests/Basic_Types_Test.cpp3
-rw-r--r--tests/Cached_Allocator_Test.cpp3
-rw-r--r--tests/MT_Reference_Counted_Event_Handler_Test.cpp1
-rw-r--r--tests/Malloc_Test.cpp1
-rw-r--r--tests/Message_Block_Test.cpp3
-rw-r--r--tests/Message_Queue_Notifications_Test.cpp1
-rw-r--r--tests/Reactor_Timer_Test.cpp1
-rw-r--r--tests/Recursive_Condition_Bug_Test.cpp1
-rw-r--r--tests/Task_Test.cpp1
-rw-r--r--tests/Thread_Manager_Test.cpp1
-rw-r--r--tests/Thread_Pool_Test.cpp1
-rw-r--r--tests/Timeprobe_Test.cpp2
-rw-r--r--tests/Timer_Queue_Reference_Counting_Test.cpp2
-rw-r--r--tests/Timer_Queue_Test.cpp2
-rw-r--r--tests/Token_Strategy_Test.cpp1
16 files changed, 25 insertions, 0 deletions
diff --git a/tests/Aio_Platform_Test.cpp b/tests/Aio_Platform_Test.cpp
index f95ea4c08bb..e2ec2209aa1 100644
--- a/tests/Aio_Platform_Test.cpp
+++ b/tests/Aio_Platform_Test.cpp
@@ -19,6 +19,7 @@
// =====================================================================
#include "test_config.h"
+#include "ace/OS.h"
ACE_RCSID(tests, Aio_Platform_Test, "$Id$")
diff --git a/tests/Basic_Types_Test.cpp b/tests/Basic_Types_Test.cpp
index 2b901f3acaf..95e1cd848cf 100644
--- a/tests/Basic_Types_Test.cpp
+++ b/tests/Basic_Types_Test.cpp
@@ -35,6 +35,9 @@
# include "test_config.h"
#endif /* ! ACE_HAS_MINIMAL_ACE_OS */
+#include "ace/Basic_Types.h"
+#include "ace/OS.h"
+
ACE_RCSID(tests, Basic_Types_Test, "$Id$")
typedef void* (*a_function_pointer) (void*);
diff --git a/tests/Cached_Allocator_Test.cpp b/tests/Cached_Allocator_Test.cpp
index e6836fc7ccf..dabbf289cd0 100644
--- a/tests/Cached_Allocator_Test.cpp
+++ b/tests/Cached_Allocator_Test.cpp
@@ -22,6 +22,9 @@
ACE_RCSID(tests, Cached_Allocator_Test, "$Id$")
+#include "ace/Synch_Traits.h"
+#include "ace/Null_Mutex.h"
+
typedef ACE_Dynamic_Cached_Allocator<ACE_SYNCH_NULL_MUTEX> DYNAMIC_ALLOCATOR;
static int
diff --git a/tests/MT_Reference_Counted_Event_Handler_Test.cpp b/tests/MT_Reference_Counted_Event_Handler_Test.cpp
index a87acf7f856..d7f9f73e3fb 100644
--- a/tests/MT_Reference_Counted_Event_Handler_Test.cpp
+++ b/tests/MT_Reference_Counted_Event_Handler_Test.cpp
@@ -35,6 +35,7 @@
#include "ace/Task.h"
#include "ace/SOCK_Acceptor.h"
#include "ace/SOCK_Connector.h"
+#include "ace/Auto_Event.h"
ACE_RCSID(tests, MT_Reference_Counted_Event_Handler_Test, "$Id$")
diff --git a/tests/Malloc_Test.cpp b/tests/Malloc_Test.cpp
index 9d0280c627e..0185937b3e9 100644
--- a/tests/Malloc_Test.cpp
+++ b/tests/Malloc_Test.cpp
@@ -24,6 +24,7 @@
#include "ace/Process_Mutex.h"
#include "ace/PI_Malloc.h"
#include "Malloc_Test.h"
+#include "ace/RW_Thread_Mutex.h"
ACE_RCSID(tests, Malloc_Test, "Malloc_Test.cpp,v 4.22 1999/12/13 22:24:42 nanbor Exp")
diff --git a/tests/Message_Block_Test.cpp b/tests/Message_Block_Test.cpp
index 53601e327d4..56a25a3d878 100644
--- a/tests/Message_Block_Test.cpp
+++ b/tests/Message_Block_Test.cpp
@@ -37,6 +37,9 @@ static const size_t ACE_ALLOC_AMOUNT = 48;
#if defined (ACE_HAS_THREADS)
+#include "ace/Lock_Adapter_T.h"
+#include "ace/Synch_Traits.h"
+
// Number of iterations to run the test.
static size_t n_iterations = ACE_MAX_ITERATIONS;
diff --git a/tests/Message_Queue_Notifications_Test.cpp b/tests/Message_Queue_Notifications_Test.cpp
index ec86ba4647c..567df50cf00 100644
--- a/tests/Message_Queue_Notifications_Test.cpp
+++ b/tests/Message_Queue_Notifications_Test.cpp
@@ -39,6 +39,7 @@
#include "ace/Task.h"
#include "ace/Reactor_Notification_Strategy.h"
#include "ace/Atomic_Op.h"
+#include "ace/Barrier.h"
ACE_RCSID(tests, Message_Queue_Notifications_Test, "$Id$")
diff --git a/tests/Reactor_Timer_Test.cpp b/tests/Reactor_Timer_Test.cpp
index f5017c0b70d..6057d8c20b2 100644
--- a/tests/Reactor_Timer_Test.cpp
+++ b/tests/Reactor_Timer_Test.cpp
@@ -25,6 +25,7 @@
#include "ace/Reactor.h"
#include "ace/High_Res_Timer.h"
#include "ace/Trace.h"
+#include "ace/Recursive_Thread_Mutex.h"
ACE_RCSID(tests, Reactor_Timer_Test, "$Id$")
diff --git a/tests/Recursive_Condition_Bug_Test.cpp b/tests/Recursive_Condition_Bug_Test.cpp
index a865431353f..25563e00d32 100644
--- a/tests/Recursive_Condition_Bug_Test.cpp
+++ b/tests/Recursive_Condition_Bug_Test.cpp
@@ -27,6 +27,7 @@
#include "ace/Activation_Queue.h"
#include "ace/Timer_Heap.h"
#include "ace/Timer_Queue_Adapters.h"
+#include "ace/Condition_Recursive_Thread_Mutex.h"
ACE_RCSID (tests,
Recursive_Condition_Bug_Test,
diff --git a/tests/Task_Test.cpp b/tests/Task_Test.cpp
index 9b6a3e3555a..ff6849bb95e 100644
--- a/tests/Task_Test.cpp
+++ b/tests/Task_Test.cpp
@@ -27,6 +27,7 @@
ACE_RCSID(tests, Task_Test, "$Id$")
#if defined (ACE_HAS_THREADS)
+#include "ace/Barrier.h"
class My_Thread_Hook : public ACE_Thread_Hook
{
diff --git a/tests/Thread_Manager_Test.cpp b/tests/Thread_Manager_Test.cpp
index 0df3fd5cf2e..7bb10bfe411 100644
--- a/tests/Thread_Manager_Test.cpp
+++ b/tests/Thread_Manager_Test.cpp
@@ -28,6 +28,7 @@
ACE_RCSID(tests, Thread_Manager_Test, "$Id$")
#if defined (ACE_HAS_THREADS)
+#include "ace/Barrier.h"
// Each thread keeps track of whether it has been signalled by using a
// global array. It must be dynamically allocated to allow sizing at
diff --git a/tests/Thread_Pool_Test.cpp b/tests/Thread_Pool_Test.cpp
index a34b240dd1d..d26bce9915c 100644
--- a/tests/Thread_Pool_Test.cpp
+++ b/tests/Thread_Pool_Test.cpp
@@ -30,6 +30,7 @@
ACE_RCSID(tests, Thread_Pool_Test, "$Id$")
#if defined (ACE_HAS_THREADS)
+#include "ace/Lock_Adapter_T.h"
// Number of iterations to run the test.
static size_t n_iterations = 100;
diff --git a/tests/Timeprobe_Test.cpp b/tests/Timeprobe_Test.cpp
index 814ede89c56..83bb71aa4e6 100644
--- a/tests/Timeprobe_Test.cpp
+++ b/tests/Timeprobe_Test.cpp
@@ -23,6 +23,8 @@
#include "tests/test_config.h"
#include "ace/Timeprobe.h"
#include "ace/Singleton.h"
+#include "ace/Synch_Traits.h"
+#include "ace/Recursive_Thread_Mutex.h"
ACE_RCSID(tests, Timeprobe_Test, "$Id$")
diff --git a/tests/Timer_Queue_Reference_Counting_Test.cpp b/tests/Timer_Queue_Reference_Counting_Test.cpp
index bafaef95d0a..9b4b9cf70e5 100644
--- a/tests/Timer_Queue_Reference_Counting_Test.cpp
+++ b/tests/Timer_Queue_Reference_Counting_Test.cpp
@@ -25,6 +25,8 @@
#include "ace/Timer_Hash.h"
#include "ace/Timer_Wheel.h"
#include "ace/Reactor.h"
+#include "ace/Recursive_Thread_Mutex.h"
+#include "ace/Null_Mutex.h"
ACE_RCSID(tests, Timer_Queue_Reference_Counting_Test, "$Id$")
diff --git a/tests/Timer_Queue_Test.cpp b/tests/Timer_Queue_Test.cpp
index 81865b002be..6ca67a9aafd 100644
--- a/tests/Timer_Queue_Test.cpp
+++ b/tests/Timer_Queue_Test.cpp
@@ -31,6 +31,8 @@
#include "ace/Timer_Wheel.h"
#include "ace/Timer_Hash.h"
#include "ace/Timer_Queue.h"
+#include "ace/Recursive_Thread_Mutex.h"
+#include "ace/Null_Mutex.h"
ACE_RCSID(tests, Timer_Queue_Test, "$Id$")
diff --git a/tests/Token_Strategy_Test.cpp b/tests/Token_Strategy_Test.cpp
index 4332afd2c3f..adb78fdf9e8 100644
--- a/tests/Token_Strategy_Test.cpp
+++ b/tests/Token_Strategy_Test.cpp
@@ -24,6 +24,7 @@
#include "ace/Stats.h"
#include "tests/test_config.h"
#include "ace/ACE.h"
+#include "ace/Barrier.h"
ACE_RCSID(tests, Token_Strategy_Test, "$Id$")