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

TestCaseDummyPunctualAction_1 Class Reference

#include <TestCaseDummyPunctualAction_1.h>

Inheritance diagram for TestCaseDummyPunctualAction_1:

TestCaseWithEvtCheck TestCaseGenericSetUp TestCase List of all members.

Detailed Description

Verify the enable service and the event registration service of punctual actions.

One DC_DummyPunctualAction is created and the following tests are performed upon it:

  1. The correctness of the class identifier is verified.
  2. It is verified that the punctual action is enabled at creation.
  3. It is verified that getLastOutcome returns ACTION_RESET.
  4. An execute request is made on the punctual action and it is verified that the punctual action returns a "action successful" outcome and that an event recording the correct execution status is created.
  5. The punctual action is disabled and it is verified that the disabled status is correctly reported by the punctual action.
  6. An execute request is made on the disabled punctual action and it is verified that an event recording the correct execution status is created.
  7. It is verified that getLastOutcome correctly reports the latest event.
  8. resetLastOutcome is invoked and it is verified that getLastOutcome returns ACTION_RESET.
See also:
DC_DummyPunctualAction

PunctualAction

Author:
Alessandro Pasetti (P&P Software GmbH)

Roberto Totaro

Version:
1.3

Definition at line 48 of file TestCaseDummyPunctualAction_1.h.

Public Member Functions

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

virtual void runTestCase (void)
 Execute the test case.


Constructor & Destructor Documentation

TestCaseDummyPunctualAction_1::TestCaseDummyPunctualAction_1 void   ) 
 

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

Definition at line 20 of file TestCaseDummyPunctualAction_1.cpp.


Member Function Documentation

void TestCaseDummyPunctualAction_1::runTestCase void   )  [virtual]
 

Execute the test case.

See class comment for details.

Reimplemented from TestCaseGenericSetUp.

Definition at line 25 of file TestCaseDummyPunctualAction_1.cpp.


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