diff options
Diffstat (limited to 'TAO/orbsvcs/tests/Log')
-rw-r--r-- | TAO/orbsvcs/tests/Log/Basic_Log_Test/Basic_Log_Test.cpp | 10 | ||||
-rw-r--r-- | TAO/orbsvcs/tests/Log/Basic_Log_Test/Basic_Log_Test.h | 26 | ||||
-rw-r--r-- | TAO/orbsvcs/tests/Log/Basic_Log_Test/client.cpp | 6 |
3 files changed, 23 insertions, 19 deletions
diff --git a/TAO/orbsvcs/tests/Log/Basic_Log_Test/Basic_Log_Test.cpp b/TAO/orbsvcs/tests/Log/Basic_Log_Test/Basic_Log_Test.cpp index 69a080b3f56..f85e36e5cc9 100644 --- a/TAO/orbsvcs/tests/Log/Basic_Log_Test/Basic_Log_Test.cpp +++ b/TAO/orbsvcs/tests/Log/Basic_Log_Test/Basic_Log_Test.cpp @@ -1,5 +1,3 @@ -/* -*- C++ -*- $Id$ */ - #include "Basic_Log_Test.h" #include "orbsvcs/Time_Utilities.h" @@ -12,7 +10,9 @@ #include <assert.h> -ACE_RCSID(Logger, BasicLog_Test, "BasicLog_Test.cpp,v 1.10 2001/06/25 19:54:32 oci Exp") +ACE_RCSID (Basic_Log_Test, + Basic_Log_Test, + "$Id$") const char* BasicLog_Test::basic_log_factory_name_="BasicLogFactory"; const char* BasicLog_Test::naming_sevice_name_="NameService"; @@ -273,7 +273,7 @@ int BasicLog_Test::display_records () } */ -int BasicLog_Test::write_records(CORBA::ULongLong numberOfRecords ACE_ENV_ARG_DECL) +int BasicLog_Test::write_records(CORBA::ULongLong numberOfRecords ACE_ENV_ARG_DECL_NOT_USED) { CORBA::ULongLong numOfRecs = numberOfRecords; if (numOfRecs == 0) @@ -638,6 +638,8 @@ int BasicLog_Test::delete_records (CORBA::ULongLong numberOfRecords) { ACE_UNUSED_ARG (numberOfRecords); + ACE_DECLARE_NEW_CORBA_ENV; + #ifndef ACE_LACKS_LONGLONG_T ACE_DEBUG((LM_INFO," before delete -- curr size %Q, max %Q\n", basicLog_->get_current_size(), basicLog_->get_max_size())); diff --git a/TAO/orbsvcs/tests/Log/Basic_Log_Test/Basic_Log_Test.h b/TAO/orbsvcs/tests/Log/Basic_Log_Test/Basic_Log_Test.h index e803879881e..f7784de2754 100644 --- a/TAO/orbsvcs/tests/Log/Basic_Log_Test/Basic_Log_Test.h +++ b/TAO/orbsvcs/tests/Log/Basic_Log_Test/Basic_Log_Test.h @@ -1,17 +1,17 @@ /* -*- C++ -*- */ -// $Id$ -// + // ============================================================================ -// -// = LIBRARY -// ORBSVCS Telecom Log Service tests -// -// = FILENAME -// Basic_Log_Test -// -// = AUTHOR -// D A Hanvey (d.hanvey@qub.ac.uk) -// +/** + * @file Basic_Log_Test.h + * + * $Id$ + * + * An test of using the Basic_Logging_Service + * + * + * + * @author D A Hanvey (d.hanvey@qub.ac.uk) + */ // ============================================================================ #ifndef _BASILOG_TEST_H @@ -118,7 +118,7 @@ private: parse_args(); // command line argument parser - int write_records(CORBA::ULongLong numberOfRecordsToWrite ACE_ENV_ARG_DECL); + int write_records(CORBA::ULongLong numberOfRecordsToWrite ACE_ENV_ARG_DECL_NOT_USED); // writes enough records to fill the log. Default write enough to fill log. Hopefully, not infinite. void diff --git a/TAO/orbsvcs/tests/Log/Basic_Log_Test/client.cpp b/TAO/orbsvcs/tests/Log/Basic_Log_Test/client.cpp index 8e43cf7f64c..b4e502e7820 100644 --- a/TAO/orbsvcs/tests/Log/Basic_Log_Test/client.cpp +++ b/TAO/orbsvcs/tests/Log/Basic_Log_Test/client.cpp @@ -1,7 +1,9 @@ -/* -*- C++ -*- $Id$ */ - #include "Basic_Log_Test.h" +ACE_RCSID (Basic_Log_Test, + client, + "$Id$") + int main(int argc, char *argv[]) { |