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

TestCaseDataPoolMonitor_1 Class Reference

#include <TestCaseDataPoolMonitor_1.h>

Inheritance diagram for TestCaseDataPoolMonitor_1:

TestCaseWithEvtCheck TestCaseGenericSetUp TestCase List of all members.

Detailed Description

Verify the services provided by the DC_DataPoolMonitor class.

A DC_SampleFullDataPool is created and configured with a DC_NullRecoveryAction and a DC_OutOfRangeProfile for each of the values it contains. The data pool is then linked to the CC_RootObject. A DC_DataPoolMonitor object is then created and the following tests are performed upon it:

  1. The correctness of the class identifier is verified.
  2. The execute() method is called and it is verified that the validity status of the data items is left unchanged and no recovery action was invoked.
  3. The values in the data pool are set outside the range defined by the monitoring profiles and DC_DataPoolMonitor::execute() is invoked once again. It is then checked that the validity status of all the values in the data pool is set to NOT_VALID and that the recovery actions were invoked.
Author:
Roberto Totaro
Version:
1.0

Definition at line 37 of file TestCaseDataPoolMonitor_1.h.

Public Member Functions

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

virtual void runTestCase (void)
 Execute the test case.


Constructor & Destructor Documentation

TestCaseDataPoolMonitor_1::TestCaseDataPoolMonitor_1 void   ) 
 

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

Definition at line 22 of file TestCaseDataPoolMonitor_1.cpp.


Member Function Documentation

void TestCaseDataPoolMonitor_1::runTestCase void   )  [virtual]
 

Execute the test case.

See class comment for details.

Reimplemented from TestCaseGenericSetUp.

Definition at line 27 of file TestCaseDataPoolMonitor_1.cpp.


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