Create method
Create an instance of a test fixture to run the named test.

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;


HTML generated by Time2HELP
http://www.time2help.com