mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-25 00:39:20 +02:00
29 lines
494 B
ObjectPascal
29 lines
494 B
ObjectPascal
program testregexpr;
|
|
|
|
{$mode objfpc}{$H+}
|
|
|
|
uses
|
|
Classes, consoletestrunner, tcregexp;
|
|
|
|
type
|
|
|
|
{ TMyTestRunner }
|
|
|
|
TMyTestRunner = class(TTestRunner)
|
|
protected
|
|
// override the protected methods of TTestRunner to customize its behavior
|
|
end;
|
|
|
|
var
|
|
Application: TMyTestRunner;
|
|
|
|
begin
|
|
DefaultFormat:=fPlain;
|
|
DefaultRunAllTests:=True;
|
|
Application := TMyTestRunner.Create(nil);
|
|
Application.Initialize;
|
|
Application.Title:='testregexpr';
|
|
Application.Run;
|
|
Application.Free;
|
|
end.
|