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

TestCaseStuckDataProfile_1 Class Reference

#include <TestCaseStuckDataProfile_1.h>

Inheritance diagram for TestCaseStuckDataProfile_1:

TestCaseGenericSetUp TestCase List of all members.

Detailed Description

Check the functionality of the StuckDataProfile class.

One instance of the class is created and the following specific tests are performed:

  1. The correctness of the class identifier is verified.
  2. It is verified that the configuration check service of the simple change profile initially reports "not configured".
  3. A stuck threshold is loaded in the profile component and it is verified that the load operation is correctly performed.
  4. It is verified that the configuration check service of the profile component reports "configured".
  5. A sequence of test values that should not trigger the profile are passed through its monitoring check service it is verified that the check service reports "no deviation from profile detected".
  6. A sequence of test values that should trigger the monitoring check are passed through the profile component and it is verified that the check service reports "deviation from profile detected".
  7. A reset operation is performed and it is verified that this interrupts the execution of the monitoring check.
  8. Non-nominal behaviour check: it is checked that the monitoring check with a real-valued argument reports "deviation from profile detected".
See also:
DC_StuckDataProfile
Author:
Alessandro Pasetti (P&P Software GmbH)
Version:
1.0

Definition at line 41 of file TestCaseStuckDataProfile_1.h.

Public Member Functions

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

virtual void runTestCase (void)
 Execute the test case.


Member Function Documentation

void TestCaseStuckDataProfile_1::runTestCase void   )  [virtual]
 

Execute the test case.

See class comment for details.

Reimplemented from TestCaseGenericSetUp.

Definition at line 28 of file TestCaseStuckDataProfile_1.cpp.


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