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

◆ PortAdminTests()

PortAdmin::PortAdminTests::PortAdminTests ( )
inline

Definition at line 174 of file PortAdminTests.cpp.

◆ ~PortAdminTests()

PortAdmin::PortAdminTests::~PortAdminTests ( )
inline

Definition at line 188 of file PortAdminTests.cpp.

Member Function Documentation

◆ CPPUNIT_TEST() [1/10]

PortAdmin::PortAdminTests::CPPUNIT_TEST ( test_getPortList  )
private

◆ CPPUNIT_TEST() [2/10]

PortAdmin::PortAdminTests::CPPUNIT_TEST ( test_getPortRef  )
private

◆ CPPUNIT_TEST() [3/10]

PortAdmin::PortAdminTests::CPPUNIT_TEST ( test_getPort  )
private

◆ CPPUNIT_TEST() [4/10]

PortAdmin::PortAdminTests::CPPUNIT_TEST ( test_addPort  )
private

◆ CPPUNIT_TEST() [5/10]

PortAdmin::PortAdminTests::CPPUNIT_TEST ( test_registerPort  )
private

◆ CPPUNIT_TEST() [6/10]

PortAdmin::PortAdminTests::CPPUNIT_TEST ( test_removePort  )
private

◆ CPPUNIT_TEST() [7/10]

PortAdmin::PortAdminTests::CPPUNIT_TEST ( test_deletePortByName  )
private

◆ CPPUNIT_TEST() [8/10]

PortAdmin::PortAdminTests::CPPUNIT_TEST ( test_finalizePorts  )
private

◆ CPPUNIT_TEST() [9/10]

PortAdmin::PortAdminTests::CPPUNIT_TEST ( test_activatePorts  )
private

◆ CPPUNIT_TEST() [10/10]

PortAdmin::PortAdminTests::CPPUNIT_TEST ( test_deactivatePorts  )
private

◆ CPPUNIT_TEST_SUITE()

PortAdmin::PortAdminTests::CPPUNIT_TEST_SUITE ( PortAdminTests  )
private

◆ CPPUNIT_TEST_SUITE_END()

PortAdmin::PortAdminTests::CPPUNIT_TEST_SUITE_END ( )
private

◆ setUp()

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

Definition at line 192 of file PortAdminTests.cpp.

◆ tearDown()

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

Definition at line 197 of file PortAdminTests.cpp.

◆ test_activatePorts()

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

Definition at line 478 of file PortAdminTests.cpp.

◆ test_addPort()

void PortAdmin::PortAdminTests::test_addPort ( )
inline

addPort()メソッドのテスト

Definition at line 305 of file PortAdminTests.cpp.

◆ test_deactivatePorts()

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

Definition at line 513 of file PortAdminTests.cpp.

◆ test_deletePortByName()

void PortAdmin::PortAdminTests::test_deletePortByName ( )
inline

deletePortByName()メソッドのテスト

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

Definition at line 406 of file PortAdminTests.cpp.

◆ test_finalizePorts()

void PortAdmin::PortAdminTests::test_finalizePorts ( )
inline

finalizePorts()メソッドのテスト

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

Definition at line 443 of file PortAdminTests.cpp.

◆ test_getPort()

void PortAdmin::PortAdminTests::test_getPort ( )
inline

getPort()メソッドのテスト

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

Definition at line 277 of file PortAdminTests.cpp.

◆ test_getPortList()

void PortAdmin::PortAdminTests::test_getPortList ( )
inline

getPortList()メソッドのテスト

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

Definition at line 206 of file PortAdminTests.cpp.

◆ test_getPortRef()

void PortAdmin::PortAdminTests::test_getPortRef ( )
inline

getPortRef()メソッドのテスト

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

Definition at line 242 of file PortAdminTests.cpp.

◆ test_registerPort()

void PortAdmin::PortAdminTests::test_registerPort ( )
inline

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

Definition at line 328 of file PortAdminTests.cpp.

◆ test_removePort()

void PortAdmin::PortAdminTests::test_removePort ( )
inline

removePort()のテスト

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

Definition at line 368 of file PortAdminTests.cpp.

Member Data Documentation

◆ m_orb

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

Definition at line 170 of file PortAdminTests.cpp.

◆ m_poa

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 Mon Feb 28 2022 23:00:47