mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-28 04:13:43 +02:00
31 lines
564 B
ObjectPascal
31 lines
564 B
ObjectPascal
{ %CONFIGFILE=fpcunit-console-defaults.ini testdefaults.ini }
|
|
|
|
program testregexpr;
|
|
|
|
{$mode objfpc}{$H+}
|
|
|
|
uses
|
|
Classes, consoletestrunner, tcregexp, tests;
|
|
|
|
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.
|