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

TestCaseProfileList_1 Class Reference

#include <TestCaseProfileList_1.h>

Inheritance diagram for TestCaseProfileList_1:

TestCaseWithEvtCheck TestCaseGenericSetUp TestCase List of all members.

Detailed Description

Verify the DC_ProfileList class.

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

  1. The correctness of the class identifier is verified.
  2. It is verified that the newly created object is not configured.
  3. The profile list size is set. It is then verified that getListSize() returns the correct value.
  4. A number of pre-configured monitoring profiles is loaded and it is verified that getMonitoringProfile() returns the correct values.
  5. During the loading of the monitoring profiles, it is verified that the object stays in the unconfigured status until the last profile is loaded.
  6. Non-nominal behaviour check: it is verified that an invokation of loadMonitoringProfile() with an illegal index generates an error report.
  7. The functionality of both implementations of deviatesFromProfile() is verified.
See also:
DC_ProfileList

DC_InRangeProfile

Author:
Roberto Totaro
Version:
1.2

Definition at line 43 of file TestCaseProfileList_1.h.

Public Member Functions

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

virtual void runTestCase (void)
 Execute the test case.


Constructor & Destructor Documentation

TestCaseProfileList_1::TestCaseProfileList_1 void   ) 
 

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

Definition at line 25 of file TestCaseProfileList_1.cpp.


Member Function Documentation

void TestCaseProfileList_1::runTestCase void   )  [virtual]
 

Execute the test case.

See class comment for details.

Reimplemented from TestCaseGenericSetUp.

Definition at line 30 of file TestCaseProfileList_1.cpp.


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