diff options
author | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2000-10-22 14:01:14 +0000 |
---|---|---|
committer | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2000-10-22 14:01:14 +0000 |
commit | f9552fe8db0cffe8bb777a647847ce791441781f (patch) | |
tree | c9a3331b5e4cdda7cc7eef522bb15a6dbd229e1c /tests | |
parent | 61c0e9b167d87835530a1103ba665c7299f3a962 (diff) | |
download | ATCD-f9552fe8db0cffe8bb777a647847ce791441781f.tar.gz |
ChangeLogTag: Sun Oct 22 08:57:33 2000 David L. Levine <levine@cs.wustl.edu>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_config.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/tests/test_config.h b/tests/test_config.h index 95c99f9a99f..05c16500b71 100644 --- a/tests/test_config.h +++ b/tests/test_config.h @@ -78,7 +78,7 @@ const size_t ACE_MAX_ITERATIONS = 10; const size_t ACE_MAX_PROCESSES = 10; const size_t ACE_MAX_THREADS = 4; -static char ACE_ALPHABET[] = "abcdefghijklmnopqrstuvwxyz"; +char ACE_ALPHABET[] = "abcdefghijklmnopqrstuvwxyz"; #define ACE_START_TEST(NAME) \ const ACE_TCHAR *program = NAME; \ @@ -166,8 +166,6 @@ private: OFSTREAM *output_file_; }; -typedef ACE_Singleton<ACE_Test_Output, ACE_Null_Mutex> ace_file_stream; - inline ACE_Test_Output::ACE_Test_Output (void) : output_file_ (0) { @@ -190,6 +188,12 @@ inline ACE_Test_Output::~ACE_Test_Output (void) #endif /* ! ACE_LACKS_IOSTREAM_TOTALLY */ } +inline OFSTREAM * +ACE_Test_Output::output_file (void) +{ + return this->output_file_; +} + inline int ACE_Test_Output::set_output (const ACE_TCHAR *filename, int append) { @@ -260,12 +264,6 @@ ACE_Test_Output::set_output (const ACE_TCHAR *filename, int append) return 0; } -inline OFSTREAM * -ACE_Test_Output::output_file (void) -{ - return this->output_file_; -} - inline void ACE_Test_Output::close (void) { @@ -301,6 +299,8 @@ randomize (int array[], size_t size) } } +typedef ACE_Singleton<ACE_Test_Output, ACE_Null_Mutex> ace_file_stream; + // This shouldn't be done in a header! But, we don't have any other // need for a .cpp file to link into all tests. #if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) |