#include <TestCaseControlList_1.h>
Inheritance diagram for TestCaseControlList_1:
DC_ControlList
class.
An instance of this class is created and the following tests are performed on it:<ol> The correctness of the class identifier is verified. It is verified that the newly created object is not configured. The control block list size is set. It is then verified that getListSize()
returns the correct value. A number of pre-configured control blocks is loaded and it is verified that getControlBlock()
returns the correct values. During the loading of the control blocks, it is verified that the object stays in the unconfigured status until the last control block is loaded. Non-nominal behaviour check: it is verified that an invocation of setControlBlock()
with an illegal index generates an error report. The execute()
method is invoked. It is verified that the return code is ACTION_SUCCESS
and that the propagate()
method of all the loaded control blocks is invoked. reset()
is called and it is verified that the status of all the loaded control blocks is reset to its default value.
DC_DummyControlBlock
Definition at line 42 of file TestCaseControlList_1.h.
Public Member Functions | |
TestCaseControlList_1 (void) | |
Set the identifier and the name of the test case to, respectively, ID_CONTROLLIST*10+1 and "TestCaseControlList_1". | |
virtual void | runTestCase (void) |
Execute the test case. |
|
Set the identifier and the name of the test case to, respectively, ID_CONTROLLIST*10+1 and "TestCaseControlList_1".
Definition at line 29 of file TestCaseControlList_1.cpp. |
|
Execute the test case. See class comment for details. Reimplemented from TestCaseGenericSetUp. Definition at line 34 of file TestCaseControlList_1.cpp. |