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

TestCaseNestedFsmActivator_1 Class Reference

#include <TestCaseNestedFsmActivator_1.h>

Inheritance diagram for TestCaseNestedFsmActivator_1:

TestCaseGenericSetUp TestCase List of all members.

Detailed Description

Verify the services of conditional punctual actions.

One DC_NestedFsmActivator 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_NestedFsmActivator 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 getTargetFsm() returns the right value and that the object is configured.
  5. The FSM is advanced to a non-zero state and doInit() is invoked. It is verified that the nested FSM is reset and brought back to the initial state.
  6. An event is raised and doContinue() is called. It is verified that the nested FSm performs a transition to the target state of the event previously raised.
See also:
DC_NestedFsmActivator

CC_FSM

FsmState

DC_DummyFsmState

DC_FsmEvent

Author:
Roberto Totaro
Version:
1.0

Definition at line 40 of file TestCaseNestedFsmActivator_1.h.

Public Member Functions

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

virtual void runTestCase (void)
 Execute the test case.


Constructor & Destructor Documentation

TestCaseNestedFsmActivator_1::TestCaseNestedFsmActivator_1 void   ) 
 

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

Definition at line 19 of file TestCaseNestedFsmActivator_1.cpp.


Member Function Documentation

void TestCaseNestedFsmActivator_1::runTestCase void   )  [virtual]
 

Execute the test case.

See class comment for details.

Reimplemented from TestCaseGenericSetUp.

Definition at line 24 of file TestCaseNestedFsmActivator_1.cpp.


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