OpenCTF  1.7.0
Open Component Test Framework
TRequiredPropertiesTest Class Reference

Tests the existence of a property. More...

Inheritance diagram for TRequiredPropertiesTest:
TComponentTest

Public Member Functions

 TRequiredPropertiesTest (TComponent Component, const string *PropertyNames, const Boolean CheckAssigned=True)
 Creates a TRequiredPropertiesTest instance. More...
 
- Public Member Functions inherited from TComponentTest
 TComponentTest (TComponent Component, const string Testname='')
 Creates a TComponentTest instance. More...
 

Protected Member Functions

 RunTest (TTestResult testResult)
 Run the test.
 

Additional Inherited Members

- Protected Attributes inherited from TComponentTest
TComponent Component
 the component to be tested. More...
 

Detailed Description

Tests the existence of a property.

Constructor & Destructor Documentation

◆ TRequiredPropertiesTest()

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

References TComponentTest::Component.