OpenCTF  1.7.0
Open Component Test Framework
TComponentTest Class Reference

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

Inheritance diagram for TComponentTest:
TRequiredEventsTest TRequiredPropertiesTest

Public Member Functions

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

Protected Attributes

TComponent Component
 the component to be tested. More...
 

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::TComponentTest ( TComponent  Component,
const string  Testname = '' 
)

Creates a TComponentTest instance.

Parameters
Componentthe component to be tested.
Testnameoptional test name.

References Component.

Member Data Documentation

◆ Component

TComponentTest::Component
protected