Public Member Functions | Private Member Functions | Private Attributes | List of all members
NamingManager::NamingManagerTests Class Reference
Inheritance diagram for NamingManager::NamingManagerTests:
Inheritance graph
[legend]

Public Member Functions

 NamingManagerTests ()
 Constructor. More...
 
virtual void setUp ()
 Test initialization. More...
 
virtual void tearDown ()
 Test finalization. More...
 
void test_bindObject_and_unbindObject ()
 bindObject()メソッドとunbindObject()メソッドのテスト More...
 
void test_bindObject_and_unbindObject2 ()
 bindObject()メソッドとunbindObject()メソッドのテスト More...
 
void test_getObjects ()
 getObjects()メソッドのテスト More...
 
void test_registerMgrName_and_unregisterMgrName ()
 registerMgrName()メソッドとunregisterMgrName()メソッドのテスト More...
 
void test_registerNameServer ()
 registerNameServer()メソッドのテスト More...
 
void test_unbindAll ()
 unbindAll()メソッドのテスト More...
 
void test_update ()
 update()メソッドのテスト More...
 
virtual ~NamingManagerTests ()
 Destructor. More...
 

Private Member Functions

bool canResolve (const char *name_server, const char *id, const char *kind)
 
 CPPUNIT_TEST (test_registerMgrName_and_unregisterMgrName)
 
 CPPUNIT_TEST (test_bindObject_and_unbindObject2)
 
 CPPUNIT_TEST (test_bindObject_and_unbindObject)
 
 CPPUNIT_TEST (test_unbindAll)
 
 CPPUNIT_TEST (test_getObjects)
 
 CPPUNIT_TEST (test_update)
 
 CPPUNIT_TEST_SUITE (NamingManagerTests)
 
 CPPUNIT_TEST_SUITE_END ()
 
CosNaming::NamingContext_var getRootContext (const std::string &name_server)
 

Private Attributes

RTC::Managerm_mgr
 
CORBA::ORB_ptr m_pORB
 
PortableServer::POA_ptr m_pPOA
 

Detailed Description

Definition at line 265 of file NamingManagerTests.cpp.

Constructor & Destructor Documentation

NamingManager::NamingManagerTests::NamingManagerTests ( )
inline

Constructor.

Definition at line 328 of file NamingManagerTests.cpp.

virtual NamingManager::NamingManagerTests::~NamingManagerTests ( )
inlinevirtual

Destructor.

Definition at line 335 of file NamingManagerTests.cpp.

Member Function Documentation

bool NamingManager::NamingManagerTests::canResolve ( const char *  name_server,
const char *  id,
const char *  kind 
)
inlineprivate

Definition at line 302 of file NamingManagerTests.cpp.

NamingManager::NamingManagerTests::CPPUNIT_TEST ( test_registerMgrName_and_unregisterMgrName  )
private
NamingManager::NamingManagerTests::CPPUNIT_TEST ( test_bindObject_and_unbindObject2  )
private
NamingManager::NamingManagerTests::CPPUNIT_TEST ( test_bindObject_and_unbindObject  )
private
NamingManager::NamingManagerTests::CPPUNIT_TEST ( test_unbindAll  )
private
NamingManager::NamingManagerTests::CPPUNIT_TEST ( test_getObjects  )
private
NamingManager::NamingManagerTests::CPPUNIT_TEST ( test_update  )
private
NamingManager::NamingManagerTests::CPPUNIT_TEST_SUITE ( NamingManagerTests  )
private
NamingManager::NamingManagerTests::CPPUNIT_TEST_SUITE_END ( )
private
CosNaming::NamingContext_var NamingManager::NamingManagerTests::getRootContext ( const std::string &  name_server)
inlineprivate

Definition at line 285 of file NamingManagerTests.cpp.

virtual void NamingManager::NamingManagerTests::setUp ( )
inlinevirtual

Test initialization.

Definition at line 342 of file NamingManagerTests.cpp.

virtual void NamingManager::NamingManagerTests::tearDown ( )
inlinevirtual

Test finalization.

Definition at line 352 of file NamingManagerTests.cpp.

void NamingManager::NamingManagerTests::test_bindObject_and_unbindObject ( )
inline

bindObject()メソッドとunbindObject()メソッドのテスト

  • オブジェクトを正しくバインドできるか?
  • オブジェクトを正しくアンバインドできるか?

Definition at line 370 of file NamingManagerTests.cpp.

void NamingManager::NamingManagerTests::test_bindObject_and_unbindObject2 ( )
inline

bindObject()メソッドとunbindObject()メソッドのテスト

  • 引数ManagerServantで、オブジェクトを正しくバインドできるか?
  • オブジェクトを正しくアンバインドできるか?

Definition at line 669 of file NamingManagerTests.cpp.

void NamingManager::NamingManagerTests::test_getObjects ( )
inline

getObjects()メソッドのテスト

  • バインドされているすべてのオブジェクトを正しく取得できるか?

Definition at line 451 of file NamingManagerTests.cpp.

void NamingManager::NamingManagerTests::test_registerMgrName_and_unregisterMgrName ( )
inline

registerMgrName()メソッドとunregisterMgrName()メソッドのテスト

  • 引数ManagerServantで、マネージャーサーバントを正しく設定できるか?

Definition at line 544 of file NamingManagerTests.cpp.

void NamingManager::NamingManagerTests::test_registerNameServer ( )
inline

registerNameServer()メソッドのテスト

Definition at line 359 of file NamingManagerTests.cpp.

void NamingManager::NamingManagerTests::test_unbindAll ( )
inline

unbindAll()メソッドのテスト

  • バインドされているすべてのオブジェクトを正常にアンバインドできるか?

Definition at line 405 of file NamingManagerTests.cpp.

void NamingManager::NamingManagerTests::test_update ( )
inline

update()メソッドのテスト

  • ネームサービスを登録した後で、かつupdate()呼出の前は、まだネームサービスにバインドされていないことを確認する
  • ネームサービスを登録した後で、かつupdate()呼出の後は、ネームサービスに正しくバインドされていることを確認する

Definition at line 499 of file NamingManagerTests.cpp.

Member Data Documentation

RTC::Manager* NamingManager::NamingManagerTests::m_mgr
private

Definition at line 280 of file NamingManagerTests.cpp.

CORBA::ORB_ptr NamingManager::NamingManagerTests::m_pORB
private

Definition at line 281 of file NamingManagerTests.cpp.

PortableServer::POA_ptr NamingManager::NamingManagerTests::m_pPOA
private

Definition at line 282 of file NamingManagerTests.cpp.


The documentation for this class was generated from the following file:


openrtm_aist
Author(s): Noriaki Ando
autogenerated on Mon Jun 10 2019 14:08:01