diff options
Diffstat (limited to 'ACE/tests/RB_Tree_Test.cpp')
-rw-r--r-- | ACE/tests/RB_Tree_Test.cpp | 57 |
1 files changed, 27 insertions, 30 deletions
diff --git a/ACE/tests/RB_Tree_Test.cpp b/ACE/tests/RB_Tree_Test.cpp index 1b3658d72b1..2e752a50e5b 100644 --- a/ACE/tests/RB_Tree_Test.cpp +++ b/ACE/tests/RB_Tree_Test.cpp @@ -1,39 +1,36 @@ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// tests -// -// = FILENAME -// RB_Tree_Test.cpp -// -// = DESCRIPTION -// This is a test to verify and illustrate the use of the -// <ACE_RB_Tree ACE_RB_Tree_Iterator> and -// <ACE_RB_Tree_Reverse_Iterator> classes. Two different key and -// item types are used in order to demonstrate specialization of -// the <ACE_Less_Than> comparison function object template: int -// (for which the native < operator is sufficient), and const char -// * (for which < operator semantics must be replaced by strcmp -// semantics). An RB tree for each of the four possible type -// parameter permutations over int and const char * is constructed -// and filled in, and the resulting order is checked via an -// iterator over each. -// -// = AUTHOR -// Chris Gill <cdgill@cs.wustl.edu> -// -// ============================================================================ - -#include "test_config.h" /* Include first to enable ACE_ASSERT. */ + +//============================================================================= +/** + * @file RB_Tree_Test.cpp + * + * $Id$ + * + * This is a test to verify and illustrate the use of the + * <ACE_RB_Tree ACE_RB_Tree_Iterator> and + * <ACE_RB_Tree_Reverse_Iterator> classes. Two different key and + * item types are used in order to demonstrate specialization of + * the <ACE_Less_Than> comparison function object template: int + * (for which the native < operator is sufficient), and const char + * * (for which < operator semantics must be replaced by strcmp + * semantics). An RB tree for each of the four possible type + * parameter permutations over int and const char * is constructed + * and filled in, and the resulting order is checked via an + * iterator over each. + * + * + * @author Chris Gill <cdgill@cs.wustl.edu> + */ +//============================================================================= + + +#include "test_config.h" /* Include first to enable ACE_TEST_ASSERT. */ #include "ace/RB_Tree.h" #include "ace/SString.h" #include "ace/Null_Mutex.h" #include "RB_Tree_Test.h" -ACE_RCSID(tests, RB_Tree_Test, "$Id$") + // Type definitions for the four distinct parameterizations of the // test. |