|
OpenCTF
1.7.0
Open Component Test Framework
|
Tests the existence of an event handler. More...
Public Member Functions | |
| TRequiredEventsTest (TComponent Component, const string *EventNames, const Boolean CheckAssigned=True) | |
| Creates a TRequiredEventsTest 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 an event handler.
| TRequiredEventsTest::TRequiredEventsTest | ( | TComponent | Component, |
| const string * | EventNames, | ||
| const Boolean | CheckAssigned = True |
||
| ) |
Creates a TRequiredEventsTest instance.
| Component | the component to be tested. |
| EventNames | array of the names of events |
| CheckAssigned | if true, the test fails if at least one event handler is missing (unassigned); if false, the test fails if at least one event handler is assigned |
References TComponentTest::Component.