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

TestCaseDeltaProfile_1 Class Reference

#include <TestCaseDeltaProfile_1.h>

Inheritance diagram for TestCaseDeltaProfile_1:

TestCaseGenericSetUp TestCase List of all members.

Detailed Description

Check the functionality of the DeltaProfile 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 delta 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 of double type 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 of double type 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. A sequence of test values of integer type 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".
  9. A sequence of test values of integer type 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".
See also:
DC_DeltaProfile
Author:
Alessandro Pasetti (P&P Software GmbH)
Version:
1.0

Definition at line 49 of file TestCaseDeltaProfile_1.h.

Public Member Functions

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

virtual void runTestCase (void)
 Execute the test case.


Member Function Documentation

void TestCaseDeltaProfile_1::runTestCase void   )  [virtual]
 

Execute the test case.

See class comment for details.

Reimplemented from TestCaseGenericSetUp.

Definition at line 26 of file TestCaseDeltaProfile_1.cpp.


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