diff options
author | William R. Otte <wotte@dre.vanderbilt.edu> | 2006-07-24 15:50:11 +0000 |
---|---|---|
committer | William R. Otte <wotte@dre.vanderbilt.edu> | 2006-07-24 15:50:11 +0000 |
commit | 6b846cf03c0bcbd8c276cb0af61a181e5f98eaae (patch) | |
tree | da50d054f9c761c3f6a5923f6979e93306c56d68 /TAO/tests/ORB_Local_Config/Simple/Test.cpp | |
parent | 0e555b9150d38e3b3473ba325b56db2642e6352b (diff) | |
download | ATCD-6b846cf03c0bcbd8c276cb0af61a181e5f98eaae.tar.gz |
Repo restructuring
Diffstat (limited to 'TAO/tests/ORB_Local_Config/Simple/Test.cpp')
-rw-r--r-- | TAO/tests/ORB_Local_Config/Simple/Test.cpp | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/TAO/tests/ORB_Local_Config/Simple/Test.cpp b/TAO/tests/ORB_Local_Config/Simple/Test.cpp deleted file mode 100644 index a93e129d932..00000000000 --- a/TAO/tests/ORB_Local_Config/Simple/Test.cpp +++ /dev/null @@ -1,40 +0,0 @@ -// $Id$ - -#include "tao/CORBANAME_Parser.h" -#include "tao/CORBALOC_Parser.h" -#include "tao/Protocol_Factory.h" -#include "ace/Dynamic_Service.h" - -#include "Service_Configuration_Per_ORB.h" - - -// @brief Dynamic services loading - -int -ACE_TMAIN (int, ACE_TCHAR *[]) -{ - ACE_Service_Gestalt_Test one; // Use the ACE_Service_Repository::instance () - - one.process_directive (ace_svc_desc_TAO_CORBANAME_Parser); - one.process_directive (ace_svc_desc_TAO_CORBALOC_Parser); - - TAO_Protocol_Factory* p1 = - ACE_Dynamic_Service<TAO_Protocol_Factory>::instance (&one, "IIOP_Factory"); - - if (p1 != 0) - ACE_ERROR_RETURN ((LM_DEBUG, ACE_TEXT("Unexpected to find IIOP_Factory\n")), -1); - - ACE_Service_Object* p2 = - ACE_Dynamic_Service<ACE_Service_Object>::instance (&one, "CORBANAME_Parser"); - - if (p2 == 0) - ACE_ERROR_RETURN ((LM_DEBUG, ACE_TEXT("Expected to find CORBANAME_Parser\n")), -1); - - ACE_Service_Object* p3 = - ACE_Dynamic_Service<ACE_Service_Object>::instance (&one, "CORBALOC_Parser"); - - if (p3 == 0) - ACE_ERROR_RETURN ((LM_DEBUG, ACE_TEXT("Expected to find CORBALOC_Parser\n")), -1); - - return 0; -} |