#include <TestCaseDummyCriticalTelecommand_1.h>
Inheritance diagram for TestCaseDummyCriticalTelecommand_1:
DC_DummyCriticalTelecommand
class.
The canExecute()
, doAction()
and reset()
methods are tested by TestCaseDummyCriticalTelecommand_2
. An instance of this class is created and the following tests are performed:<ol> The correctness of the class identifier is verified. The Telecommand class (CriticalTelecommand's base class) is configured by invoking setTimeTag()
. It is verified that the DC_DummyCriticalTelecommand
class is not yet fully configured. setMaxArmedDuration()
is called. It is verified that the class is not yet configured and that getMaxArmedDuration
returns the correct value. An DC_DummyObsClock
object is created and it is attached to the critical telecommand by calling setObsClock()
. It is verified that the object is finally configured and that getObsClock()
returns the correct value. It is verified that the newly created telecommand is critical and not armed. It is verified that the criticality level can be modified. It is verified that the image validity flag can be set and retrieved correctly. Finally, it is verified that the "time when armed" is set to an invalid value.
Definition at line 41 of file TestCaseDummyCriticalTelecommand_1.h.
Public Member Functions | |
TestCaseDummyCriticalTelecommand_1 (void) | |
Set the identifier and the name of the test case to, respectively, ID_DUMMYCRITICALTELECOMMAND*10+1 and "TestCaseDummyCriticalTelecommand_1". | |
virtual void | runTestCase (void) |
Execute the test case. |
|
Set the identifier and the name of the test case to, respectively, ID_DUMMYCRITICALTELECOMMAND*10+1 and "TestCaseDummyCriticalTelecommand_1".
Definition at line 18 of file TestCaseDummyCriticalTelecommand_1.cpp. |
|
Execute the test case. See class comment for details. Reimplemented from TestCaseGenericSetUp. Definition at line 24 of file TestCaseDummyCriticalTelecommand_1.cpp. |