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

TestCaseManoeuvrePunctualAction_1 Class Reference

#include <TestCaseManoeuvrePunctualAction_1.h>

Inheritance diagram for TestCaseManoeuvrePunctualAction_1:

TestCaseGenericSetUp TestCase List of all members.

Detailed Description

Verify the functionality implemented by the DC_ManoeuvrePunctualActionr class.

An instance of this class is created and the following tests are performed upon it:

  1. The correctness of the class identifier is verified.
  2. It is verified that the action is not configured at creation.
  3. A previously created and configured CC_ManoeuvreManager is attached to the action. It is verified that the manoeuvre manager pointer can be retrieved by calling getManoeuvreManager and that the action is not yet configured.
  4. A previously created DC_DummyManoeuvre is attached to the action. It is verified that the manoeuvre pointer can be retrieved by calling getManoeuvre and that the action is now fully configured.
  5. The inherited method execute() is invoked and it is verified that the manoeuvre is loaded into the manoeuvre manager.
See also:
DC_ManoeuvrePunctualAction

PunctualAction

CC_ManoeuvreManager

Manoeuvre

DC_DummyManouvre

Author:
Roberto Totaro
Version:
1.0

Definition at line 39 of file TestCaseManoeuvrePunctualAction_1.h.

Public Member Functions

 TestCaseManoeuvrePunctualAction_1 (void)
 Set the identifier and the name of the test case to, respectively, ID_MANOEUVREPUNCTUALACTION*10+1 and "TestCaseManoeuvrePunctualAction_1".

virtual void runTestCase (void)
 Execute the test case.


Constructor & Destructor Documentation

TestCaseManoeuvrePunctualAction_1::TestCaseManoeuvrePunctualAction_1 void   ) 
 

Set the identifier and the name of the test case to, respectively, ID_MANOEUVREPUNCTUALACTION*10+1 and "TestCaseManoeuvrePunctualAction_1".

Definition at line 18 of file TestCaseManoeuvrePunctualAction_1.cpp.


Member Function Documentation

void TestCaseManoeuvrePunctualAction_1::runTestCase void   )  [virtual]
 

Execute the test case.

See class comment for details.

Reimplemented from TestCaseGenericSetUp.

Definition at line 23 of file TestCaseManoeuvrePunctualAction_1.cpp.


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