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

Public Member Functions

virtual void setUp ()
 Test initialization. More...
 
 StateMachineTests ()
 Constructor. More...
 
virtual void tearDown ()
 Test finalization. More...
 
void test_transition_story1 ()
 StateMachineによる状態遷移のテスト More...
 
 ~StateMachineTests ()
 Destructor. More...
 

Private Member Functions

 CPPUNIT_TEST (test_transition_story1)
 
 CPPUNIT_TEST_SUITE (StateMachineTests)
 
 CPPUNIT_TEST_SUITE_END ()
 

Detailed Description

Definition at line 295 of file StateMachineTests.cpp.

Constructor & Destructor Documentation

StateMachineTests::StateMachineTests::StateMachineTests ( )
inline

Constructor.

Definition at line 308 of file StateMachineTests.cpp.

StateMachineTests::StateMachineTests::~StateMachineTests ( )
inline

Destructor.

Definition at line 315 of file StateMachineTests.cpp.

Member Function Documentation

StateMachineTests::StateMachineTests::CPPUNIT_TEST ( test_transition_story1  )
private
StateMachineTests::StateMachineTests::CPPUNIT_TEST_SUITE ( StateMachineTests  )
private
StateMachineTests::StateMachineTests::CPPUNIT_TEST_SUITE_END ( )
private
virtual void StateMachineTests::StateMachineTests::setUp ( )
inlinevirtual

Test initialization.

Definition at line 322 of file StateMachineTests.cpp.

virtual void StateMachineTests::StateMachineTests::tearDown ( )
inlinevirtual

Test finalization.

Definition at line 329 of file StateMachineTests.cpp.

void StateMachineTests::StateMachineTests::test_transition_story1 ( )
inline

StateMachineによる状態遷移のテスト

次の場合に、意図どおりの順序でコールバックが呼び出されることを確認する;

  • PreDo内で次状態を指定した場合
  • Do内で次状態を指定した場合
  • PostDo内で次状態を指定した場合
  • Entry内で次状態を指定した場合

また、Entry/PreDo/Do/PostDoのいずれにおいても次状態を遷移しない場合に、現状態に留まることを確認する。

Definition at line 344 of file StateMachineTests.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