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

TestCaseDummyObsClock_1 Class Reference

#include <TestCaseDummyObsClock_1.h>

Inheritance diagram for TestCaseDummyObsClock_1:

TestCaseGenericSetUp TestCase List of all members.

Detailed Description

Verify the timing provision and object configuration services of class DC_DummyObsClock.

The following specific tests are performed:

  1. A DC_DummyObsClock instance is created and it is verified that its object configuration service reports "object configured".
  2. The OBS time and cycle services are called on the newly created object and it is verified that they report 0.
  3. The OBS time and cycle are set with the setTime service and it is then verified that the OBS time and cycle services report the newly set values.
  4. The Dummy OBS Clock component is reset and it is verified that its time and cycle data are reset to 0.
  5. A dummy call to method synchronizeWithSystemTime is done. This is necessary to ensure full statement coverage of the class under test.
Author:
Alessandro Pasetti (P&P Software GmbH)
Version:
1.0

Definition at line 34 of file TestCaseDummyObsClock_1.h.

Public Member Functions

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

virtual void runTestCase (void)
 Execute the test case.


Member Function Documentation

void TestCaseDummyObsClock_1::runTestCase void   )  [virtual]
 

Execute the test case.

See class comment for details.

Reimplemented from TestCaseGenericSetUp.

Definition at line 22 of file TestCaseDummyObsClock_1.cpp.


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