2 //=============================================================================
6 * This is a test that makes sure the <import_config_as_strings> of
7 * <ACE_Configuration_Heap> class works correctly.
9 * @author Michael Searles <msearles@base16.com> and Jerry D. Odenwelder Jr. <jerry.o@mindspring.com>
11 //=============================================================================
14 #ifndef __CONFIG_TEST_H
15 #define __CONFIG_TEST_H
17 #include "ace/Configuration.h"
19 const int TEST_MAX_STRING
= 256;
24 Config_Test () : equality_tested_ (0) { }
27 // Used to test the equality and inequality operations.
30 // Used to test INI Import Export class
33 // Used to test Regiastry Import Export class
34 // 1. Creates an ACE_Configuration_Heap object
35 // 2. Calls buildConfigObject to populate
37 // 5. Creates a new ACE_Configuration_Heap object
39 // 7. Compares to origional.
45 // change a value for value change test
46 int change_one (ACE_Configuration
&l
, u_int a
= 101);
48 void get_section_string (ACE_Configuration
& config
,
49 ACE_Configuration_Section_Key
& SectionKey
,
50 const ACE_TCHAR
* pszName
,
51 ACE_TCHAR
* pszVariable
,
54 void get_section_integer (ACE_Configuration
& config
,
55 ACE_Configuration_Section_Key
& SectionKey
,
56 const ACE_TCHAR
* pszName
,
61 void get_section_boolean (ACE_Configuration
& config
,
62 ACE_Configuration_Section_Key
& SectionKey
,
63 const ACE_TCHAR
* pszName
,
67 int equality_tested_
; // make sure the equality operator works before proceeding.
70 #endif /* __CONFIG_TEST_H */