summaryrefslogtreecommitdiff
path: root/tests/test_config.h
diff options
context:
space:
mode:
authorlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2000-10-22 14:01:14 +0000
committerlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2000-10-22 14:01:14 +0000
commit43d256031a057246fc957c23e60dd9446a437f31 (patch)
treec9a3331b5e4cdda7cc7eef522bb15a6dbd229e1c /tests/test_config.h
parent1f70b9ffa3247972b0dcf8c735f76c5051f571b4 (diff)
downloadATCD-43d256031a057246fc957c23e60dd9446a437f31.tar.gz
ChangeLogTag: Sun Oct 22 08:57:33 2000 David L. Levine <levine@cs.wustl.edu>
Diffstat (limited to 'tests/test_config.h')
-rw-r--r--tests/test_config.h18
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)