diff options
author | schmidt <douglascraigschmidt@users.noreply.github.com> | 1996-12-10 08:49:56 +0000 |
---|---|---|
committer | schmidt <douglascraigschmidt@users.noreply.github.com> | 1996-12-10 08:49:56 +0000 |
commit | 64d036b51612261ffa53bbdba38ff8e6e99fc016 (patch) | |
tree | ff947ccd272b645b872902a961c0907b7f974469 /tests/Service_Config_Test.cpp | |
parent | 7db29418e44bdce4e3df96493b852118cdd82a4a (diff) | |
download | ATCD-64d036b51612261ffa53bbdba38ff8e6e99fc016.tar.gz |
eon
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; +} |