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

TestCaseControlList_1 Class Reference

#include <TestCaseControlList_1.h>

Inheritance diagram for TestCaseControlList_1:

TestCaseWithEvtCheck TestCaseGenericSetUp TestCase List of all members.

Detailed Description

Verify the DC_ControlList class.

An instance of this class is created and the following tests are performed on it:<ol> The correctness of the class identifier is verified. It is verified that the newly created object is not configured. The control block list size is set. It is then verified that getListSize() returns the correct value. A number of pre-configured control blocks is loaded and it is verified that getControlBlock() returns the correct values. During the loading of the control blocks, it is verified that the object stays in the unconfigured status until the last control block is loaded. Non-nominal behaviour check: it is verified that an invocation of setControlBlock() with an illegal index generates an error report. The execute() method is invoked. It is verified that the return code is ACTION_SUCCESS and that the propagate() method of all the loaded control blocks is invoked. reset() is called and it is verified that the status of all the loaded control blocks is reset to its default value.

See also:
DC_ControlList

DC_DummyControlBlock

Author:
Roberto Totaro
Version:
1.0

Definition at line 42 of file TestCaseControlList_1.h.

Public Member Functions

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

virtual void runTestCase (void)
 Execute the test case.


Constructor & Destructor Documentation

TestCaseControlList_1::TestCaseControlList_1 void   ) 
 

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

Definition at line 29 of file TestCaseControlList_1.cpp.


Member Function Documentation

void TestCaseControlList_1::runTestCase void   )  [virtual]
 

Execute the test case.

See class comment for details.

Reimplemented from TestCaseGenericSetUp.

Definition at line 34 of file TestCaseControlList_1.cpp.


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