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

TestCaseEventRepository_3 Class Reference

#include <TestCaseEventRepository_3.h>

Inheritance diagram for TestCaseEventRepository_3:

TestCaseGenericSetUp TestCase List of all members.

Detailed Description

Verify the enable and disable services of the DC_EventRepository class.

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

  1. The enable status of the repository is changed to "disabled" and it it is verified that the change is correctly reported.
  2. An "event create" request is sent to the disabled repository and it is checked that the event counter and the latest event in the repository are not changed (which indicates that no event was created in the repository).
  3. The enable status of the repository is changed back to "enabled" and it it is verified that "event create" requests are correctly executed and results in the creation of a new event in the repository.
  4. A "selective disable request" is made to disable collection of event reports of a specific type and it is verified that the change in enable status is correctly reported.
  5. An "event create" request is sent to the repository for an event of the disabled type and it is checked that the event counter does not change (which indicates that no event was created in the repository).
  6. An "event create" request is sent to the repository for an event that is still enabled and it is checked that the event counter is incremented by 1 (which indicates that no event was created in the repository).
See also:
DC_EventRepository
Author:
Alessandro Pasetti (P&P Software GmbH)
Version:
1.0

Definition at line 44 of file TestCaseEventRepository_3.h.

Public Member Functions

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

virtual void runTestCase (void)
 Execute the test case.


Member Function Documentation

void TestCaseEventRepository_3::runTestCase void   )  [virtual]
 

Execute the test case.

See class comment for details.

Reimplemented from TestCaseGenericSetUp.

Definition at line 24 of file TestCaseEventRepository_3.cpp.


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