Main Page | Modules | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

TestCaseNestedFsmActivatorWithEndState_1 Class Reference

#include <TestCaseNestedFsmActivatorWithEndState_1.h>

Inheritance diagram for TestCaseNestedFsmActivatorWithEndState_1:

TestCaseGenericSetUp TestCase List of all members.

Detailed Description

Verify the services of nested FSM states.

One DC_NestedFsmActivatorWithEndState object is created and the following procedure is performed upon it:

  1. A FSM, its states and a corresponding number of events are created. The FSM and the events are configured and initialized. These objects will be used to test the DC_NestedFsmActivatorWithEndState implementation.
  2. It is verified that the object under test returns the correct class id.
  3. It is verified that a newly created object is not configured.
  4. The previously created CC_FSM is attached to the object. It is verified that the object is not yet configured.
  5. The target state is set by calling setTargetState(). It is verified that getTargetState() returns the proper value and that the object is conofigured.
  6. The FSM is advanced through all its states and it is verified that isFinished() returns true only when the FSM state is equal to the target state.
See also:
DC_NestedFsmActivatorWithEndState

CC_FSM

FsmState

DC_DummyFsmState

DC_FsmEvent

Author:
Roberto Totaro
Version:
1.0

Definition at line 41 of file TestCaseNestedFsmActivatorWithEndState_1.h.

Public Member Functions

 TestCaseNestedFsmActivatorWithEndState_1 (void)
 Set the identifier and the name of the test case to, respectively, ID_NESTEDFSMACTIVATORWITHENDSTATE*10+1 and "TestCaseNestedFsmActivatorWithEndState_1".

virtual void runTestCase (void)
 Execute the test case.


Constructor & Destructor Documentation

TestCaseNestedFsmActivatorWithEndState_1::TestCaseNestedFsmActivatorWithEndState_1 void   ) 
 

Set the identifier and the name of the test case to, respectively, ID_NESTEDFSMACTIVATORWITHENDSTATE*10+1 and "TestCaseNestedFsmActivatorWithEndState_1".

Definition at line 19 of file TestCaseNestedFsmActivatorWithEndState_1.cpp.


Member Function Documentation

void TestCaseNestedFsmActivatorWithEndState_1::runTestCase void   )  [virtual]
 

Execute the test case.

See class comment for details.

Reimplemented from TestCaseGenericSetUp.

Definition at line 25 of file TestCaseNestedFsmActivatorWithEndState_1.cpp.


The documentation for this class was generated from the following files:
Copyright 2003 P&P Software GmbH - All Rights Reserved