TestCaseTelecommandManager_2 Class Reference
#include <TestCaseTelecommandManager_2.h>
Inheritance diagram for TestCaseTelecommandManager_2:
List of all members.
Detailed Description
Check the configuration the nominal telecommand execution process implemented by the telecommand manager.
The test uses an instance of class DC_DummyTelecommandLoader
as a telecommand loader and three instances of class DC_DummyTelecommand
as dummy telecommands. The third telecommand is configured to have a 0 time-tag (immediate execution) and the first two are configured to have two consecutive time tags. The test begins by creating and configuring a telecommand manager instance and by activating the telecommand loader to make it load all three dummy telecommands. The following specific tests are then executed:
-
It is verified that the allocation counter in the dummy telecommand loader is equal to 3.
-
It is verified that the telecommand manager reports: "three pending telecommands".
-
The telecommand manager is activated and it is verified that the third telecommand (time tag equal to 0) is executed.
-
It is verified that the telecommand manager reports: "two pending telecommands".
-
It is verified that an event was created to record the unloading of the telecommand.
-
The telecommand manager is repeatedly activated until the time tag of the first telecommand is reached and it is verified that the telecommand is executed.
-
It is verified that the telecommand manager reports: "one pending telecommand".
-
The telecommand manager is repeatedly activated until the time tag of the last remaining telecommand is reached and it is verified that the telecommand is executed.
-
It is verified that the telecommand manager reports: "no pending telecommands".
-
It is verified that the allocation counter in the dummy telecommand loader has gone back to 0.
- See also:
- CC_TelecommandManager
DC_DummyTelecommand
DC_DummyTelecommandLoader
- Author:
- Alessandro Pasetti (P&P Software GmbH)
- Version:
- 1.0
Definition at line 57 of file TestCaseTelecommandManager_2.h.
|
Public Member Functions |
| TestCaseTelecommandManager_2 (void) |
| Set the identifier and the name of the test case to, respectively, ID_TELECOMMANDMANAGER*10+2 and "TestCaseTelecommandManager_2".
|
virtual void | runTestCase (void) |
| Execute the test case.
|
Member Function Documentation
void TestCaseTelecommandManager_2::runTestCase |
( |
void |
|
) |
[virtual] |
|
The documentation for this class was generated from the following files:
Copyright 2003 P&P Software GmbH - All Rights Reserved