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

TestCaseDummyConfigurableManoeuvre_1 Class Reference

#include <TestCaseDummyConfigurableManoeuvre_1.h>

Inheritance diagram for TestCaseDummyConfigurableManoeuvre_1:

TestCaseGenericSetUp TestCase List of all members.

Detailed Description

Verify the services implemented by the DC_DummyConfigurableManoeuvre.

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

  1. The correctness of the class identified is verified.
  2. It is verified that the action counters are equal to zero at creation.
  3. The manoeuvre is put in use it is verified that its start check returns "manoeuvre cannot start".
  4. The initialization action is performed and it is verified that the initialization action counter is incremented by one.
  5. The continuation action is performed and it is verified that the continuation action counter is incremented by one.
  6. It is verified that the continuaion check returns "manoeuvre cannot continue".
  7. It is verified that the termination check returns "manoeuvre cannot terminate".
  8. The termination action is executed and it is verfied that the termination action counter is incremented by one.
  9. The configurable return values of the manoeuvre checks are inverted through method setCheckStatus. A complete execution cycle for the manoeuvre is executed again (initialization, one continuation action, termination) and it is verified that the return values of the manoeuvre checks reflect the new settings.
See also:
DC_DummyConfigurableManoeuvre

Manoeuvre

Author:
Alessandro Pasetti (P&P Software GmbH)
Version:
1.0

Definition at line 46 of file TestCaseDummyConfigurableManoeuvre_1.h.

Public Member Functions

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

virtual void runTestCase (void)
 Execute the test case.


Member Function Documentation

void TestCaseDummyConfigurableManoeuvre_1::runTestCase void   )  [virtual]
 

Execute the test case.

See class comment for details.

Reimplemented from TestCaseGenericSetUp.

Definition at line 22 of file TestCaseDummyConfigurableManoeuvre_1.cpp.


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