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

Public Member Functions

 CorbaConsumerTests ()
 Constructor. More...
 
virtual void setUp ()
 Test initialization. More...
 
virtual void tearDown ()
 Test finalization. More...
 
void test_copy_constructor ()
 コピーコンストラクタのテスト More...
 
void test_pointer_operator ()
 ポインタ演算子(operator->())のテスト More...
 
void test_releaseObject ()
 releaseObject()メソッドのテスト More...
 
void test_setObject_and__ptr ()
 setObject()メソッドと_ptr()メソッドのテスト More...
 
void test_substitute_operator ()
 
 ~CorbaConsumerTests ()
 Destructor. More...
 

Private Member Functions

 CPPUNIT_TEST (test_setObject_and__ptr)
 
 CPPUNIT_TEST (test_copy_constructor)
 
 CPPUNIT_TEST (test_pointer_operator)
 
 CPPUNIT_TEST (test_substitute_operator)
 
 CPPUNIT_TEST (test_releaseObject)
 
 CPPUNIT_TEST_SUITE (CorbaConsumerTests)
 
 CPPUNIT_TEST_SUITE_END ()
 

Private Attributes

CORBA::ORB_ptr m_pORB
 
PortableServer::POA_ptr m_pPOA
 

Detailed Description

Definition at line 65 of file CorbaConsumerTests.cpp.

Constructor & Destructor Documentation

◆ CorbaConsumerTests()

CorbaConsumer::CorbaConsumerTests::CorbaConsumerTests ( )
inline

Constructor.

Definition at line 85 of file CorbaConsumerTests.cpp.

◆ ~CorbaConsumerTests()

CorbaConsumer::CorbaConsumerTests::~CorbaConsumerTests ( )
inline

Destructor.

Definition at line 99 of file CorbaConsumerTests.cpp.

Member Function Documentation

◆ CPPUNIT_TEST() [1/5]

CorbaConsumer::CorbaConsumerTests::CPPUNIT_TEST ( test_setObject_and__ptr  )
private

◆ CPPUNIT_TEST() [2/5]

CorbaConsumer::CorbaConsumerTests::CPPUNIT_TEST ( test_copy_constructor  )
private

◆ CPPUNIT_TEST() [3/5]

CorbaConsumer::CorbaConsumerTests::CPPUNIT_TEST ( test_pointer_operator  )
private

◆ CPPUNIT_TEST() [4/5]

CorbaConsumer::CorbaConsumerTests::CPPUNIT_TEST ( test_substitute_operator  )
private

◆ CPPUNIT_TEST() [5/5]

CorbaConsumer::CorbaConsumerTests::CPPUNIT_TEST ( test_releaseObject  )
private

◆ CPPUNIT_TEST_SUITE()

CorbaConsumer::CorbaConsumerTests::CPPUNIT_TEST_SUITE ( CorbaConsumerTests  )
private

◆ CPPUNIT_TEST_SUITE_END()

CorbaConsumer::CorbaConsumerTests::CPPUNIT_TEST_SUITE_END ( )
private

◆ setUp()

virtual void CorbaConsumer::CorbaConsumerTests::setUp ( )
inlinevirtual

Test initialization.

Definition at line 106 of file CorbaConsumerTests.cpp.

◆ tearDown()

virtual void CorbaConsumer::CorbaConsumerTests::tearDown ( )
inlinevirtual

Test finalization.

Definition at line 113 of file CorbaConsumerTests.cpp.

◆ test_copy_constructor()

void CorbaConsumer::CorbaConsumerTests::test_copy_constructor ( )
inline

コピーコンストラクタのテスト

  • 既存のConsumerオブジェクトを元に、別の新たなConsumerをコピーコンストラクトし、 その新たなConsumerオブジェクトに対してメソッドを正しく呼び出せるか?

Definition at line 147 of file CorbaConsumerTests.cpp.

◆ test_pointer_operator()

void CorbaConsumer::CorbaConsumerTests::test_pointer_operator ( )
inline

ポインタ演算子(operator->())のテスト

  • 生成したサーバントをConsumerにセットした後、 Consumerのポインタ演算子を通してサーバントのメソッドを正しく呼び出せるか?

Definition at line 175 of file CorbaConsumerTests.cpp.

◆ test_releaseObject()

void CorbaConsumer::CorbaConsumerTests::test_releaseObject ( )
inline

releaseObject()メソッドのテスト

  • releaseObject()呼出によって、保持されているオブジェクト参照が正しくクリアされるか?

Definition at line 221 of file CorbaConsumerTests.cpp.

◆ test_setObject_and__ptr()

void CorbaConsumer::CorbaConsumerTests::test_setObject_and__ptr ( )
inline

setObject()メソッドと_ptr()メソッドのテスト

  • 生成したサーバントをConsumerにセットした後、Consumerを通してサーバントのメソッドを正しく呼び出せるか?

Definition at line 122 of file CorbaConsumerTests.cpp.

◆ test_substitute_operator()

void CorbaConsumer::CorbaConsumerTests::test_substitute_operator ( )
inline

Definition at line 194 of file CorbaConsumerTests.cpp.

Member Data Documentation

◆ m_pORB

CORBA::ORB_ptr CorbaConsumer::CorbaConsumerTests::m_pORB
private

Definition at line 77 of file CorbaConsumerTests.cpp.

◆ m_pPOA

PortableServer::POA_ptr CorbaConsumer::CorbaConsumerTests::m_pPOA
private

Definition at line 78 of file CorbaConsumerTests.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:46