mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-27 14:30:41 +02:00
34 lines
520 B
ObjectPascal
34 lines
520 B
ObjectPascal
program unittests_console;
|
|
|
|
{$mode objfpc}{$H+}
|
|
|
|
uses
|
|
{$ifdef unix}
|
|
cwstring,
|
|
{$endif}
|
|
Classes
|
|
,consoletestrunner
|
|
{$i testunits.inc}
|
|
;
|
|
|
|
type
|
|
|
|
{ TLazTestRunner }
|
|
|
|
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.Run;
|
|
Application.Free;
|
|
end.
|