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

TestCasePunctualActionManager_1 Class Reference

#include <TestCasePunctualActionManager_1.h>

Inheritance diagram for TestCasePunctualActionManager_1:

TestCaseGenericSetUp TestCase List of all members.

Detailed Description

Verify the services offered by the punctual action manager as implemented by the CC_PunctualActionManager class.

An instance of this class is created and the following tests are performed:<ol> The correctness of the class id is verified. It is verified that the newly created object is not configured and that getPunctualActionModeManager() returns a null pointer. The setPunctualActionModeManager() is invoked with a pointer to a properly configured PunctualActionModeManager object. It is verified that getPunctualActionModeManager() returns the correct pointer and that the object is configured. The activate() method is invoked twice and it is verified that the activation counters of the DC_DummyPunctualAction objects in the mode manager list are equal to two.

See also:
CC_PunctualActionManager

DC_DummyPunctualAction

DC_SimplePunctualActionModeManager

Author:
Roberto Totaro
Version:
1.0

Definition at line 36 of file TestCasePunctualActionManager_1.h.

Public Member Functions

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

virtual void runTestCase (void)
 Execute the test case.


Constructor & Destructor Documentation

TestCasePunctualActionManager_1::TestCasePunctualActionManager_1 void   ) 
 

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

Definition at line 17 of file TestCasePunctualActionManager_1.cpp.


Member Function Documentation

void TestCasePunctualActionManager_1::runTestCase void   )  [virtual]
 

Execute the test case.

See class comment for details.

Reimplemented from TestCaseGenericSetUp.

Definition at line 22 of file TestCasePunctualActionManager_1.cpp.


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