#include <TestCaseDummyDataItemControlBlock_1.h>
Inheritance diagram for TestCaseDummyDataItemControlBlock_1:
DataItemControlBlock
class.
Since this class is abstract, the check is performed upon its concrete subclass DC_DummyDataItemControlBlock
. One instance of this class is created and the following checks are performed upon it:<ol> The correctness of the class identifier is verified. The number of states, inputs, outputs and parameters read with the getter methods and it is checked that their values are correct. The control block's inputs and outputs are linked to previously created DC_DataItem
objects and it is verified that the control block is configured only when all inputs and outputs are linked. reset()
is called and it is verified that the initial values of the state variables are correctly set. The parameter values are set and the correctness of their values is checked. The input values are set and propagate()
is invoked. It is verified that both state and outputs are properly updated. The state values are set and the correctness of their values is checked. The following tests are performed only if the non nominal checks are allowed:
Definition at line 51 of file TestCaseDummyDataItemControlBlock_1.h.
Public Member Functions | |
TestCaseDummyDataItemControlBlock_1 (void) | |
Set the identifier and the name of the test case to, respectively, ID_DUMMYDATAITEMCONTROLBLOCK*10+1 and "TestCaseDummyDataItemControlBlock_1". | |
virtual void | runTestCase (void) |
Execute the test case. |
|
Set the identifier and the name of the test case to, respectively, ID_DUMMYDATAITEMCONTROLBLOCK*10+1 and "TestCaseDummyDataItemControlBlock_1".
Definition at line 23 of file TestCaseDummyDataItemControlBlock_1.cpp. |
|
Execute the test case. See class comment for details. Reimplemented from TestCaseGenericSetUp. Definition at line 28 of file TestCaseDummyDataItemControlBlock_1.cpp. |