|
OpenCTF
1.7.0
Open Component Test Framework
|
Tests the existence of a property. More...
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... | |
Tests the existence of a property.
| TRequiredPropertiesTest::TRequiredPropertiesTest | ( | TComponent | Component, |
| const string * | PropertyNames, | ||
| const Boolean | CheckAssigned = True |
||
| ) |
Creates a TRequiredPropertiesTest instance.
| Component | the component to be tested. |
| PropertyNames | array of the names of properties |
| CheckAssigned | if 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.