TestCaseSimpleChangeProfile_1 Class Reference
#include <TestCaseSimpleChangeProfile_1.h>
Inheritance diagram for TestCaseSimpleChangeProfile_1:
List of all members.
Detailed Description
Check the functionality of the MonitoringProfile
abstract class as they are implemented in the SimpleChangeProfile
concrete class.
Additionally, the specific functionalities of the SimpleChangeProfile
are also checked.
One instance of the SimpleChangeProfile
is created and the following specific tests are performed:
-
The correctness of the class identifier is verified.
-
It is verified that the monitoring check of the profile component is initially enabled.
-
A reference value is loaded in the simple change profile and it is verified that the load operation is correctly performed.
-
A test value identical to the reference value is passed through the simple change profile and it is verified that the monitoring check service reports "no deviation from profile detected".
-
A test value different from the reference value is passed through the simple change profile and it is verified that the monitoring check service reports "deviation from profile detected" and that an event report has been created to record the profile violation.
-
Non-nominal behaviour check: it is checked that the monitoring check with a real-valued argument reports "deviation from profile detected".
-
The monitoring is disabled and it is verified that the enable status is correctly reported.
-
A test value different from the reference value is passed through the disabled simple change profile and it is verified that the monitoring check service reports "no deviation from profile detected" and that no event reports are created.
- See also:
- DC_SimpleChangeProfile
- Author:
- Alessandro Pasetti (P&P Software GmbH)
- Version:
- 1.0
Definition at line 49 of file TestCaseSimpleChangeProfile_1.h.
|
Public Member Functions |
| TestCaseSimpleChangeProfile_1 (void) |
| Set the identifier and the name of the test case to, respectively, ID_SIMPLECHANGEPROFILE*10+1 and "TestCaseSimpleChangeProfile_1".
|
virtual void | runTestCase (void) |
| Execute the test case.
|
Member Function Documentation
void TestCaseSimpleChangeProfile_1::runTestCase |
( |
void |
|
) |
[virtual] |
|
The documentation for this class was generated from the following files:
Copyright 2003 P&P Software GmbH - All Rights Reserved