diff options
Diffstat (limited to 'tests/Service_Config_Test.cpp')
-rw-r--r-- | tests/Service_Config_Test.cpp | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/tests/Service_Config_Test.cpp b/tests/Service_Config_Test.cpp new file mode 100644 index 00000000000..6c6a36bb42a --- /dev/null +++ b/tests/Service_Config_Test.cpp @@ -0,0 +1,37 @@ +// $Id$ + +// ============================================================================ +// +// = LIBRARY +// tests +// +// = FILENAME +// Service_Config_Test.cpp +// +// = DESCRIPTION +// This is a simple test to make sure the Service_Configurator is +// working correctly. +// +// = AUTHOR +// Doug Schmidt +// +// ============================================================================ + +#include "ace/Service_Config.h" +#include "test_config.h" + +int +main (int argc, char *argv[]) +{ + ACE_START_TEST ("Service_Config_Test"); + ACE_Time_Value tv (argc > 1 ? atoi (argv[1]) : 2); + + ACE_Service_Config daemon; + + daemon.open (argc, argv); + + ACE_ASSERT (daemon.run_reactor_event_loop (tv) == 0); + + ACE_END_TEST; + return 0; +} |