Main Page | Modules | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

TestCaseDummyCriticalTelecommand_1 Class Reference

#include <TestCaseDummyCriticalTelecommand_1.h>

Inheritance diagram for TestCaseDummyCriticalTelecommand_1:

TestCaseGenericSetUp TestCase List of all members.

Detailed Description

Verify the basic services offered by critical telecommands as implemented by the 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.

See also:
DC_DummyCriticalTelecommand

TestCaseDummyCriticalTelecommand_2

Author:
Roberto Totaro
Version:
1.0

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.


Constructor & Destructor Documentation

TestCaseDummyCriticalTelecommand_1::TestCaseDummyCriticalTelecommand_1 void   ) 
 

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.


Member Function Documentation

void TestCaseDummyCriticalTelecommand_1::runTestCase void   )  [virtual]
 

Execute the test case.

See class comment for details.

Reimplemented from TestCaseGenericSetUp.

Definition at line 24 of file TestCaseDummyCriticalTelecommand_1.cpp.


The documentation for this class was generated from the following files:
Copyright 2003 P&P Software GmbH - All Rights Reserved