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

TestCaseForbiddenValueProfile_1 Class Reference

#include <TestCaseForbiddenValueProfile_1.h>

Inheritance diagram for TestCaseForbiddenValueProfile_1:

TestCaseGenericSetUp TestCase List of all members.

Detailed Description

Check the functionality of the DC_ForbiddenValueProfile 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. A forbidden value is loaded in the monitoring profile and it is verified that the load operation is correctly performed.
  3. A test value different from the forbidden value is passed through the monitoring profile and it is verified that the monitoring check service reports "no deviation from profile detected".
  4. A test value equal to the forbidden value is passed through the monitoring profile and it is verified that the monitoring check service reports "deviation from profile detected".
  5. The monitoring profile is disabled and the test value is again passed through the monitoring profile. It is checked that the monitoring check service reports "no deviation from profile detected".
  6. Non-nominal behaviour check: it is checked that the monitoring check with a real-valued argument reports "deviation from profile detected".
See also:
DC_ForbiddenValueProfile
Author:
Alessandro Pasetti (P&P Software GmbH)
Version:
1.0

Definition at line 38 of file TestCaseForbiddenValueProfile_1.h.

Public Member Functions

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

virtual void runTestCase (void)
 Execute the test case.


Member Function Documentation

void TestCaseForbiddenValueProfile_1::runTestCase void   )  [virtual]
 

Execute the test case.

See class comment for details.

Reimplemented from TestCaseGenericSetUp.

Definition at line 27 of file TestCaseForbiddenValueProfile_1.cpp.


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