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

Tests::FactoryTests::FactoryTests ( )
inline

Constructor.

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

Tests::FactoryTests::~FactoryTests ( )
inline

Destructor.

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

Member Function Documentation

Tests::FactoryTests::CPPUNIT_TEST ( test_create_and_destroy  )
private
Tests::FactoryTests::CPPUNIT_TEST ( test_profile  )
private
Tests::FactoryTests::CPPUNIT_TEST ( test_number  )
private
Tests::FactoryTests::CPPUNIT_TEST_SUITE ( FactoryTests  )
private
Tests::FactoryTests::CPPUNIT_TEST_SUITE_END ( )
private
virtual void Tests::FactoryTests::setUp ( )
inlinevirtual

Test initialization.

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

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

Test finalization.

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

void Tests::FactoryTests::test_create_and_destroy ( )
inline

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

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

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

void Tests::FactoryTests::test_number ( )
inline

number()メソッドのテスト

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

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

void Tests::FactoryTests::test_profile ( )
inline

profile()メソッドのテスト

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

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

Member Data Documentation

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