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

TestCaseTestTracer_1 Class Reference

#include <TestCaseTestTracer_1.h>

Inheritance diagram for TestCaseTestTracer_1:

TestCaseGenericSetUp TestCase List of all members.

Detailed Description

Verify the functionality of the DC_TestTracer component.

A DC_TestTracer instance is created and the following specific tests are performed upon it:

  1. It is verified that the test tracer component is enabled at creation.
  2. A synch trace signal is sent through the test tracer component and it is verified that the trace item is correctly written to the log file.
  3. A packet trace signal is sent through the test tracer component and it is verified that the trace items are correctly written to the log file.
  4. The test tracer is disabled and it is verified that this is correctly reproted by the isEnabled service.
  5. The test tracer is disabled and it is verified that attempts to send a synch trace have no effect on the log file.
  6. The test tracer is disabled and it is verified that attempts to send a packet trace have no effect on the log file.
The above tests are only performed if the test application is running in a desktop environment. If the application is running in an embedded environment, no tests are performed and the test case always returns "test successful".
See also:
TestTracer
Author:
Alessandro Pasetti (P&P Software GmbH)
Version:
1.0

Definition at line 39 of file TestCaseTestTracer_1.h.

Public Member Functions

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

virtual void runTestCase (void)
 Execute the test case.


Member Function Documentation

void TestCaseTestTracer_1::runTestCase void   )  [virtual]
 

Execute the test case.

See class comment for details.

Reimplemented from TestCaseGenericSetUp.

Definition at line 23 of file TestCaseTestTracer_1.cpp.


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