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

Tests the existence of a property. More...

Inheritance diagram for TRequiredPropertiesTest:
TComponentTest

List of all members.

Public Member Functions

 TRequiredPropertiesTest (TComponent Component, const string *PropertyNames, const Boolean CheckAssigned=True)
 Creates a TRequiredPropertiesTest instance.

Protected Member Functions

 RunTest (TTestResult testResult)
 Run the test.

Detailed Description

Tests the existence of a property.


Constructor & Destructor Documentation

TRequiredPropertiesTest::TRequiredPropertiesTest ( TComponent  Component,
const string *  PropertyNames,
const Boolean  CheckAssigned = True 
)

Creates a TRequiredPropertiesTest instance.

Parameters:
Componentthe component to be tested.
PropertyNamesarray of the names of properties
CheckAssignedif true, the test fails if at least one property is unassigned; if false, the test fails if at least one property is assigned