#include <TestCaseDummyDataPoolControlBlock_1.h>
Inheritance diagram for TestCaseDummyDataPoolControlBlock_1:
DataPoolControlBlock
class.
Since this class is abstract, the check is performed upon its concrete subclass DC_DummyDataPoolControlBlock
. 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 a previously configured DC_BasicDataPool
object 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 TestCaseDummyDataPoolControlBlock_1.h.
Public Member Functions | |
TestCaseDummyDataPoolControlBlock_1 (void) | |
Set the identifier and the name of the test case to, respectively, ID_DUMMYDATAPOOLCONTROLBLOCK*10+1 and "TestCaseDummyDataPoolControlBlock_1". | |
virtual void | runTestCase (void) |
Execute the test case. |
|
Set the identifier and the name of the test case to, respectively, ID_DUMMYDATAPOOLCONTROLBLOCK*10+1 and "TestCaseDummyDataPoolControlBlock_1".
Definition at line 23 of file TestCaseDummyDataPoolControlBlock_1.cpp. |
|
Execute the test case. See class comment for details. Reimplemented from TestCaseGenericSetUp. Definition at line 28 of file TestCaseDummyDataPoolControlBlock_1.cpp. |