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

Public Member Functions

 FactoryTests ()
 Constructor. More...
 
virtual void setUp ()
 Test initialization. More...
 
virtual void tearDown ()
 Test finalization. More...
 
void test_create_and_destroy ()
 create()メソッドとdestroy()メソッドのテスト More...
 
void test_number ()
 number()メソッドのテスト More...
 
void test_profile ()
 profile()メソッドのテスト More...
 
 ~FactoryTests ()
 Destructor. More...
 

Private Member Functions

 CPPUNIT_TEST (test_create_and_destroy)
 
 CPPUNIT_TEST (test_profile)
 
 CPPUNIT_TEST (test_number)
 
 CPPUNIT_TEST_SUITE (FactoryTests)
 
 CPPUNIT_TEST_SUITE_END ()
 

Private Attributes

RTC::Managerm_mgr
 

Detailed Description

Definition at line 114 of file rtm/tests/Factory/FactoryTests.cpp.

Constructor & Destructor Documentation

◆ FactoryTests()

Tests::FactoryTests::FactoryTests ( )
inline

Constructor.

Definition at line 130 of file rtm/tests/Factory/FactoryTests.cpp.

◆ ~FactoryTests()

Tests::FactoryTests::~FactoryTests ( )
inline

Destructor.

Definition at line 137 of file rtm/tests/Factory/FactoryTests.cpp.

Member Function Documentation

◆ CPPUNIT_TEST() [1/3]

Tests::FactoryTests::CPPUNIT_TEST ( test_create_and_destroy  )
private

◆ CPPUNIT_TEST() [2/3]

Tests::FactoryTests::CPPUNIT_TEST ( test_profile  )
private

◆ CPPUNIT_TEST() [3/3]

Tests::FactoryTests::CPPUNIT_TEST ( test_number  )
private

◆ CPPUNIT_TEST_SUITE()

Tests::FactoryTests::CPPUNIT_TEST_SUITE ( FactoryTests  )
private

◆ CPPUNIT_TEST_SUITE_END()

Tests::FactoryTests::CPPUNIT_TEST_SUITE_END ( )
private

◆ setUp()

virtual void Tests::FactoryTests::setUp ( )
inlinevirtual

Test initialization.

Definition at line 144 of file rtm/tests/Factory/FactoryTests.cpp.

◆ tearDown()

virtual void Tests::FactoryTests::tearDown ( )
inlinevirtual

Test finalization.

Definition at line 152 of file rtm/tests/Factory/FactoryTests.cpp.

◆ test_create_and_destroy()

void Tests::FactoryTests::test_create_and_destroy ( )
inline

create()メソッドとdestroy()メソッドのテスト

  • 正常にコンポーネントを生成できるか?
  • 生成されたコンポーネントには、正しくプロパティが設定されているか?
  • 正常にコンポーネントを破棄できるか?(デストラクタが呼ばれるか?)

Definition at line 164 of file rtm/tests/Factory/FactoryTests.cpp.

◆ test_number()

void Tests::FactoryTests::test_number ( )
inline

number()メソッドのテスト

  • 生成したインスタンス数が正しく得られるか?

Definition at line 213 of file rtm/tests/Factory/FactoryTests.cpp.

◆ test_profile()

void Tests::FactoryTests::test_profile ( )
inline

profile()メソッドのテスト

  • コンストラクタで指定したプロパティを取得できるか?

Definition at line 195 of file rtm/tests/Factory/FactoryTests.cpp.

Member Data Documentation

◆ m_mgr

RTC::Manager* Tests::FactoryTests::m_mgr
private

Definition at line 124 of file rtm/tests/Factory/FactoryTests.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:48