RunTest method |
Applies to
TTestCase
Declaration
Procedure RunTest;
Description
Performs the test. The pre-conditions for the test must already have been met. runTest may leave the system in an unknown state. Do not override this function to Create testcases.
Raises |
ETestFailure | The test failed. |
Exception | An error occcurred while running this test. |
procedure TTestCase.RunTest; begin assert(assigned(fMethod), 'Method "' + FTestName + '" not found'); fMethod; End; |
|