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

CorbaConsumer::CorbaConsumerTests::CorbaConsumerTests ( )
inline

Constructor.

Definition at line 85 of file CorbaConsumerTests.cpp.

CorbaConsumer::CorbaConsumerTests::~CorbaConsumerTests ( )
inline

Destructor.

Definition at line 99 of file CorbaConsumerTests.cpp.

Member Function Documentation

CorbaConsumer::CorbaConsumerTests::CPPUNIT_TEST ( test_setObject_and__ptr  )
private
CorbaConsumer::CorbaConsumerTests::CPPUNIT_TEST ( test_copy_constructor  )
private
CorbaConsumer::CorbaConsumerTests::CPPUNIT_TEST ( test_pointer_operator  )
private
CorbaConsumer::CorbaConsumerTests::CPPUNIT_TEST ( test_substitute_operator  )
private
CorbaConsumer::CorbaConsumerTests::CPPUNIT_TEST ( test_releaseObject  )
private
CorbaConsumer::CorbaConsumerTests::CPPUNIT_TEST_SUITE ( CorbaConsumerTests  )
private
CorbaConsumer::CorbaConsumerTests::CPPUNIT_TEST_SUITE_END ( )
private
virtual void CorbaConsumer::CorbaConsumerTests::setUp ( )
inlinevirtual

Test initialization.

Definition at line 106 of file CorbaConsumerTests.cpp.

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

Test finalization.

Definition at line 113 of file CorbaConsumerTests.cpp.

void CorbaConsumer::CorbaConsumerTests::test_copy_constructor ( )
inline

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

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

Definition at line 147 of file CorbaConsumerTests.cpp.

void CorbaConsumer::CorbaConsumerTests::test_pointer_operator ( )
inline

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

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

Definition at line 175 of file CorbaConsumerTests.cpp.

void CorbaConsumer::CorbaConsumerTests::test_releaseObject ( )
inline

releaseObject()メソッドのテスト

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

Definition at line 221 of file CorbaConsumerTests.cpp.

void CorbaConsumer::CorbaConsumerTests::test_setObject_and__ptr ( )
inline

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

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

Definition at line 122 of file CorbaConsumerTests.cpp.

void CorbaConsumer::CorbaConsumerTests::test_substitute_operator ( )
inline

Definition at line 194 of file CorbaConsumerTests.cpp.

Member Data Documentation

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

Definition at line 77 of file CorbaConsumerTests.cpp.

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 Jun 10 2019 14:08:00