Public Member Functions | Private Member Functions
StateMachineTests::StateMachineTests Class Reference

List of all members.

Public Member Functions

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

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 ( ) [inline, virtual]

Test initialization.

Definition at line 322 of file StateMachineTests.cpp.

virtual void StateMachineTests::StateMachineTests::tearDown ( ) [inline, virtual]

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