Public Member Functions | Private Member Functions | Private Attributes
Tests::FactoryTests Class Reference

List of all members.

Public Member Functions

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

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

Constructor.

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

Destructor.

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


Member Function Documentation

virtual void Tests::FactoryTests::setUp ( ) [inline, virtual]

Test initialization.

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

virtual void Tests::FactoryTests::tearDown ( ) [inline, virtual]

Test finalization.

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

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

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

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

number()メソッドのテスト

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

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

profile()メソッドのテスト

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

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


Member Data Documentation

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 Sun Mar 26 2017 03:37:21