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

Public Member Functions

 ObjectManagerTests ()
 Constructor. More...
 
virtual void setUp ()
 Test initialization. More...
 
virtual void tearDown ()
 Test finalization. More...
 
void test_find ()
 find()メソッドのテスト More...
 
void test_getObjects ()
 getObjects()メソッドのテスト More...
 
void test_registerObject ()
 registerObject()メソッドのテスト More...
 
void test_registerObject_with_overlapped_identifier ()
 registerObject()メソッドのテスト More...
 
void test_unregisterObject_and_find ()
 unregisterObject()メソッドとfind()メソッドのテスト More...
 
 ~ObjectManagerTests ()
 Destructor. More...
 

Private Member Functions

 CPPUNIT_TEST (test_registerObject)
 
 CPPUNIT_TEST (test_registerObject_with_overlapped_identifier)
 
 CPPUNIT_TEST (test_find)
 
 CPPUNIT_TEST (test_unregisterObject_and_find)
 
 CPPUNIT_TEST (test_getObjects)
 
 CPPUNIT_TEST_SUITE (ObjectManagerTests)
 
 CPPUNIT_TEST_SUITE_END ()
 

Detailed Description

Definition at line 79 of file ObjectManagerTests.cpp.

Constructor & Destructor Documentation

ObjectManagerTests::ObjectManagerTests::ObjectManagerTests ( )
inline

Constructor.

Definition at line 94 of file ObjectManagerTests.cpp.

ObjectManagerTests::ObjectManagerTests::~ObjectManagerTests ( )
inline

Destructor.

Definition at line 101 of file ObjectManagerTests.cpp.

Member Function Documentation

ObjectManagerTests::ObjectManagerTests::CPPUNIT_TEST ( test_registerObject  )
private
ObjectManagerTests::ObjectManagerTests::CPPUNIT_TEST ( test_registerObject_with_overlapped_identifier  )
private
ObjectManagerTests::ObjectManagerTests::CPPUNIT_TEST ( test_find  )
private
ObjectManagerTests::ObjectManagerTests::CPPUNIT_TEST ( test_unregisterObject_and_find  )
private
ObjectManagerTests::ObjectManagerTests::CPPUNIT_TEST ( test_getObjects  )
private
ObjectManagerTests::ObjectManagerTests::CPPUNIT_TEST_SUITE ( ObjectManagerTests  )
private
ObjectManagerTests::ObjectManagerTests::CPPUNIT_TEST_SUITE_END ( )
private
virtual void ObjectManagerTests::ObjectManagerTests::setUp ( )
inlinevirtual

Test initialization.

Definition at line 108 of file ObjectManagerTests.cpp.

virtual void ObjectManagerTests::ObjectManagerTests::tearDown ( )
inlinevirtual

Test finalization.

Definition at line 115 of file ObjectManagerTests.cpp.

void ObjectManagerTests::ObjectManagerTests::test_find ( )
inline

find()メソッドのテスト

  • 登録されたオブジェクトをfind()で正しく取得できるか?
  • 存在しないIDを指定した場合、意図どおりNULLが取得されるか?

Definition at line 167 of file ObjectManagerTests.cpp.

void ObjectManagerTests::ObjectManagerTests::test_getObjects ( )
inline

getObjects()メソッドのテスト

  • getObjects()で、登録済みの全オブジェクトを正しく取得できるか?

Definition at line 230 of file ObjectManagerTests.cpp.

void ObjectManagerTests::ObjectManagerTests::test_registerObject ( )
inline

registerObject()メソッドのテスト

  • オブジェクトを正常に登録できるか?

Definition at line 124 of file ObjectManagerTests.cpp.

void ObjectManagerTests::ObjectManagerTests::test_registerObject_with_overlapped_identifier ( )
inline

registerObject()メソッドのテスト

  • 同一のオブジェクト(当然、識別子も同じ)の登録を試みて、意図どおり失敗するか?
  • 同一の識別子を持つ別のオブジェクトの登録を試みて、意図どおり失敗するか?

Definition at line 143 of file ObjectManagerTests.cpp.

void ObjectManagerTests::ObjectManagerTests::test_unregisterObject_and_find ( )
inline

unregisterObject()メソッドとfind()メソッドのテスト

  • オブジェクトをunregisterObject()で登録解除して、そのオブジェクトを正しく取得できるか?
  • 登録解除したオブジェクトのIDを指定してfind()した場合、意図どおりNULLを得るか?
  • 登録解除していないオブジェクトは、依然としてfind()で正しく取得できるか?

Definition at line 199 of file ObjectManagerTests.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