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

TestCaseEventRepository_2 Class Reference

#include <TestCaseEventRepository_2.h>

Inheritance diagram for TestCaseEventRepository_2:

TestCaseGenericSetUp TestCase List of all members.

Detailed Description

Verify the event creation and retrieval service of class DC_EventRepository.

The following specific tests are performed:

  1. Two events are created in a configured event repository and it is verified that the event counter is incremented by two.
  2. The iteration service of the event repository is used to retrieve the events in the repository and it is checked that the correct events are retrieved.
  3. More events are added to the event repository until one is overwritten after the repository size is exceeded and it is checked that the event counter has the correct value and that the iterator performs as expected.
  4. It is verified that reset() does not clear the event counter.
See also:
DC_EventRepository
Author:
Alessandro Pasetti (P&P Software GmbH)
Version:
1.0

Definition at line 32 of file TestCaseEventRepository_2.h.

Public Member Functions

 TestCaseEventRepository_2 (void)
 Set the identifier and the name of the test case to, respectively, ID_EVENTREPOSITORY*10+2 and "TestCaseEventRepository_2".

virtual void runTestCase (void)
 Execute the test case.


Member Function Documentation

void TestCaseEventRepository_2::runTestCase void   )  [virtual]
 

Execute the test case.

See class comment for details.

Reimplemented from TestCaseGenericSetUp.

Definition at line 24 of file TestCaseEventRepository_2.cpp.


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