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

Public Member Functions

 PortAdminTests ()
 
virtual void setUp ()
 
virtual void tearDown ()
 
void test_activatePorts (void)
 
void test_addPort ()
 addPort()メソッドのテスト More...
 
void test_deactivatePorts (void)
 
void test_deletePortByName ()
 deletePortByName()メソッドのテスト More...
 
void test_finalizePorts ()
 finalizePorts()メソッドのテスト More...
 
void test_getPort ()
 getPort()メソッドのテスト More...
 
void test_getPortList ()
 getPortList()メソッドのテスト More...
 
void test_getPortRef ()
 getPortRef()メソッドのテスト More...
 
void test_registerPort ()
 registerPort(),deletePort()メソッドのテスト More...
 
void test_removePort ()
 removePort()のテスト More...
 
 ~PortAdminTests ()
 

Private Member Functions

 CPPUNIT_TEST (test_getPortList)
 
 CPPUNIT_TEST (test_getPortRef)
 
 CPPUNIT_TEST (test_getPort)
 
 CPPUNIT_TEST (test_addPort)
 
 CPPUNIT_TEST (test_registerPort)
 
 CPPUNIT_TEST (test_removePort)
 
 CPPUNIT_TEST (test_deletePortByName)
 
 CPPUNIT_TEST (test_finalizePorts)
 
 CPPUNIT_TEST (test_activatePorts)
 
 CPPUNIT_TEST (test_deactivatePorts)
 
 CPPUNIT_TEST_SUITE (PortAdminTests)
 
 CPPUNIT_TEST_SUITE_END ()
 

Private Attributes

CORBA::ORB_ptr m_orb
 
PortableServer::POA_ptr m_poa
 

Detailed Description

Definition at line 153 of file PortAdminTests.cpp.

Constructor & Destructor Documentation

PortAdmin::PortAdminTests::PortAdminTests ( )
inline

Definition at line 174 of file PortAdminTests.cpp.

PortAdmin::PortAdminTests::~PortAdminTests ( )
inline

Definition at line 188 of file PortAdminTests.cpp.

Member Function Documentation

PortAdmin::PortAdminTests::CPPUNIT_TEST ( test_getPortList  )
private
PortAdmin::PortAdminTests::CPPUNIT_TEST ( test_getPortRef  )
private
PortAdmin::PortAdminTests::CPPUNIT_TEST ( test_getPort  )
private
PortAdmin::PortAdminTests::CPPUNIT_TEST ( test_addPort  )
private
PortAdmin::PortAdminTests::CPPUNIT_TEST ( test_registerPort  )
private
PortAdmin::PortAdminTests::CPPUNIT_TEST ( test_removePort  )
private
PortAdmin::PortAdminTests::CPPUNIT_TEST ( test_deletePortByName  )
private
PortAdmin::PortAdminTests::CPPUNIT_TEST ( test_finalizePorts  )
private
PortAdmin::PortAdminTests::CPPUNIT_TEST ( test_activatePorts  )
private
PortAdmin::PortAdminTests::CPPUNIT_TEST ( test_deactivatePorts  )
private
PortAdmin::PortAdminTests::CPPUNIT_TEST_SUITE ( PortAdminTests  )
private
PortAdmin::PortAdminTests::CPPUNIT_TEST_SUITE_END ( )
private
virtual void PortAdmin::PortAdminTests::setUp ( )
inlinevirtual

Definition at line 192 of file PortAdminTests.cpp.

virtual void PortAdmin::PortAdminTests::tearDown ( )
inlinevirtual

Definition at line 197 of file PortAdminTests.cpp.

void PortAdmin::PortAdminTests::test_activatePorts ( void  )
inline

Definition at line 478 of file PortAdminTests.cpp.

void PortAdmin::PortAdminTests::test_addPort ( )
inline

addPort()メソッドのテスト

Definition at line 305 of file PortAdminTests.cpp.

void PortAdmin::PortAdminTests::test_deactivatePorts ( void  )
inline

Definition at line 513 of file PortAdminTests.cpp.

void PortAdmin::PortAdminTests::test_deletePortByName ( )
inline

deletePortByName()メソッドのテスト

  • 指定した名称を持つPortを正しく削除できるか?
  • 削除したPortのProfileのリファレンスがnilになっているか?

Definition at line 406 of file PortAdminTests.cpp.

void PortAdmin::PortAdminTests::test_finalizePorts ( )
inline

finalizePorts()メソッドのテスト

  • 登録されているすべてのPortを、PortAdminから削除できるか?
  • すべてのPortのProfileのリファレンスがnilになっているか?

Definition at line 443 of file PortAdminTests.cpp.

void PortAdmin::PortAdminTests::test_getPort ( )
inline

getPort()メソッドのテスト

  • ポート名称を指定して、登録されているPortオブジェクトを正しく取得できるか?

Definition at line 277 of file PortAdminTests.cpp.

void PortAdmin::PortAdminTests::test_getPortList ( )
inline

getPortList()メソッドのテスト

  • 取得されたPortが、あらかじめ登録したものと一致するか?

Definition at line 206 of file PortAdminTests.cpp.

void PortAdmin::PortAdminTests::test_getPortRef ( )
inline

getPortRef()メソッドのテスト

  • 登録されているPortの参照を正しく取得できるか?
  • 登録されていないPortの名称を指定した場合、意図どおりnil参照が得られるか?

Definition at line 242 of file PortAdminTests.cpp.

void PortAdmin::PortAdminTests::test_registerPort ( )
inline

registerPort(),deletePort()メソッドのテスト

Definition at line 328 of file PortAdminTests.cpp.

void PortAdmin::PortAdminTests::test_removePort ( )
inline

removePort()のテスト

  • Portを正しく削除できるか?
  • 削除したPortのProfileのリファレンスがnilになっているか?

Definition at line 368 of file PortAdminTests.cpp.

Member Data Documentation

CORBA::ORB_ptr PortAdmin::PortAdminTests::m_orb
private

Definition at line 170 of file PortAdminTests.cpp.

PortableServer::POA_ptr PortAdmin::PortAdminTests::m_poa
private

Definition at line 171 of file PortAdminTests.cpp.


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


openrtm_aist
Author(s): Noriaki Ando
autogenerated on Thu Jun 6 2019 19:26:03