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

TestCaseManoeuvreManager_2 Class Reference

#include <TestCaseManoeuvreManager_2.h>

Inheritance diagram for TestCaseManoeuvreManager_2:

TestCaseWithEvtCheck TestCaseGenericSetUp TestCase List of all members.

Detailed Description

Verify the CC_ManoeuvreManager::activate() method.

One instance of the class is created and the following operations are performed:

  1. The manoeuvre list is allocated.
  2. A number of DC_DummyConfigurableManoeuvre objects equal to length of the manoeuvre list is created.
  3. The created manoeuvres are loaded into the manager and their startCheck and continuationCheck flags are set to true. terminationCheck is set to false.
  4. activate() is invoked once and it is verified that the manoeuvres are intializated and their doContinue() method is called exactly once.
  5. The manoeuvres' status is updated according to the manoeuvreStateChange table, then activate() is invoked. It is verified that all the manoeuvres in use are scheduled (i.e. doContinue() is called) and that the manoeuvre manager terminates/aborts and unloads the manoeuvres as expected.
  6. The previous step is repeated until no pending manoeuvres are left in the list (nominal case) or a pre-defined maximum number of activate() calls is reached (failure mode).
See also:
CC_ManoeuvreManager

DC_DummyConfigurableManoeuvre

TestCaseManoeuvreManager_1

Author:
Roberto Totaro
Version:
1.0

Definition at line 40 of file TestCaseManoeuvreManager_2.h.

Public Member Functions

 TestCaseManoeuvreManager_2 (void)
 Set the identifier and the name of the test case to, respectively, ID_MANOEUVREMANAGER*10+2 and "TestCaseManoeuvreManager_2".

virtual void runTestCase (void)
 Execute the test case.


Constructor & Destructor Documentation

TestCaseManoeuvreManager_2::TestCaseManoeuvreManager_2 void   ) 
 

Set the identifier and the name of the test case to, respectively, ID_MANOEUVREMANAGER*10+2 and "TestCaseManoeuvreManager_2".

Definition at line 41 of file TestCaseManoeuvreManager_2.cpp.


Member Function Documentation

void TestCaseManoeuvreManager_2::runTestCase void   )  [virtual]
 

Execute the test case.

See class comment for details.

Reimplemented from TestCaseGenericSetUp.

Definition at line 46 of file TestCaseManoeuvreManager_2.cpp.


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