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

TestCaseInRangeProfile_1 Class Reference

#include <TestCaseInRangeProfile_1.h>

Inheritance diagram for TestCaseInRangeProfile_1:

TestCaseGenericSetUp TestCase List of all members.

Detailed Description

Check the functionalities implemented by the abstract class RangeProfile.

The checks are performed on the concrete class DC_InRangeProfile. The specific functionalities implemented by class DC_InRangeProfile are also checked. One instance of this 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 in range profile initially reports "not configured".
  3. A lower bound value is loaded in the monitoring profile and it is verified that the load operation is correctly performed.
  4. An upper bound value is loaded in the monitoring profile and it is verified that the load operation is correctly performed.
  5. It is verified that the configuration check service of the in range profile now reports "configured".
  6. A test value of type double lying outside the range is passed through the monitoring profile and it is verified that the monitoring check service reports "no deviation from profile detected".
  7. A test value type double lying within the range is passed through the monitoring profile and it is verified that the monitoring check service reports "deviation from profile detected".
  8. The monitoring profile is disabled and the same test valued is again passed through the profile. It is checked that the monitoring check service now reports "no deviation from profile detected".
  9. The monitoring profile is enabled. A test value of type int lying outside the range is passed through the monitoring profile and it is verified that the monitoring check service reports "no deviation from profile detected".
  10. A test value type int lying within the range is passed through the monitoring profile and it is verified that the monitoring check service reports "deviation from profile detected".
See also:
RangeProfile

DC_InRangeProfile

Author:
Alessandro Pasetti (P&P Software GmbH)
Version:
1.0

Definition at line 56 of file TestCaseInRangeProfile_1.h.

Public Member Functions

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

virtual void runTestCase (void)
 Execute the test case.


Member Function Documentation

void TestCaseInRangeProfile_1::runTestCase void   )  [virtual]
 

Execute the test case.

See class comment for details.

Reimplemented from TestCaseGenericSetUp.

Definition at line 27 of file TestCaseInRangeProfile_1.cpp.


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