TestCaseBasicDataPool_1 Class Reference
#include <TestCaseBasicDataPool_1.h>
Inheritance diagram for TestCaseBasicDataPool_1:
List of all members.
Detailed Description
Check the functionalities implemented by the DataPool
class.
Since this class is abstract, its functionalities are checked in the implementation of its concrete subclass DC_BasicDataPool_1
. An instance of the component is created and the following specific checks are performed upon it:
-
It is verified that the class ID of the component has the correct value.
-
It is verified that, after instantiation, the configuration service of the component reports "not configured".
-
The size of the data pool is set and read back and it is checked that the read-back value is correct.
-
It is checked that the configuration service of the component reports "configured".
-
It is verified that the data item attribute of a data pool item encapsulates an unsigned integer with value zero.
-
It is verified that the time stamp attribute of a data pool item is equal to zero.
-
It is verified that the validity attribute of a data pool item is "valid".
-
It is verified that the setter method for the validity status of a data pool item can be called without an exception being generated.
-
It is verified that both type checking services for a data pool item return "true".
-
It is verified that the
firstIdentifier
and nextIdentifier
iteration methods return zero and that the isLastIdentifier
method returns "true".
-
It is verified that the monitoring profile attribute of a data pool item is an instance of class
DC_NullProfile
.
-
It is verified that the recovery action attribute of a data pool item is an instance of class
DC_NullRecoveryAction
.
-
It is verified that the reset method can be called without an exception being generated.
-
A float value is set and then read and it is verified that the value that is read back is the same as the value that was written.
-
An integer value is set and then read and it is verified that the value that is read back is the same as the value that was written.
-
A float value is set and then its pointer is read and it is verified that the value that was written can be correctly read from the pointer.
-
An integer value is set and then its pointer is read and it is verified that the value that was written can be correctly read from the pointer.
- See also:
- DC_BasicDataPool
- Author:
- Alessandro Pasetti (P&P Software GmbH)
- Version:
- 1.0
Definition at line 56 of file TestCaseBasicDataPool_1.h.
|
Public Member Functions |
| TestCaseBasicDataPool_1 (void) |
| Set the identifier and the name of the test case to, respectively, ID_BASICDATAPOOL*10+1 and "TestCaseBasicDataPool_1".
|
virtual void | runTestCase (void) |
| Execute the test case.
|
Member Function Documentation
void TestCaseBasicDataPool_1::runTestCase |
( |
void |
|
) |
[virtual] |
|
The documentation for this class was generated from the following files:
Copyright 2003 P&P Software GmbH - All Rights Reserved