OpenCTF  1.5.0
Open Component Test Framework
 All Classes Functions Variables
TComponentTest Class Reference

The base class for all unit test classes for a given component. More...

Inheritance diagram for TComponentTest:
TRequiredEventsTest TRequiredPropertiesTest

List of all members.

Public Member Functions

 TComponentTest (TComponent Component, const string Testname= '')
 Creates a TComponentTest instance.

Protected Attributes

TComponent Component
 the component to be tested.

Detailed Description

The base class for all unit test classes for a given component.

Subclasses of this class implement component-specific tests. Two subclasses (TRequiredEventsTest and TRequiredPropertiesTest) are already included in the OpenCTF core.

See also:
TRequiredEventsTest
TRequiredPropertiesTest

Constructor & Destructor Documentation

TComponentTest::TComponentTest ( TComponent  Component,
const string  Testname = '' 
)

Creates a TComponentTest instance.

Parameters:
Componentthe component to be tested.
Testnameoptional test name.

Member Data Documentation

the component to be tested.

See also:
FComponent For reading