Create method |
Applies to
TAbstractTest
Declaration
Constructor Create(Name: string);
Description
Create a test fixture capabile of running a single testcase. The test case that will be run is the method called MethodName, which must be declared in the published section of a sub-class of TTestCase. Implementation
constructor TAbstractTest.Create(Name: string); begin inherited Create; FTestName := Name; FEnabled := true; End; |
|