fpc/packages/fcl-pdf/tests/unittests_console.lpr
Michaël Van Canneyt ba81f4ed7a * PChar -> PAnsiChar
2023-07-15 18:22:41 +02:00

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.