mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-05-01 10:03:41 +02:00

* fixed memleak with long options + added stylesheet parameter + added example stylesheet * renamed App to Appliction, so Lazarus can set the Application.Title git-svn-id: trunk@10183 -
27 lines
454 B
ObjectPascal
27 lines
454 B
ObjectPascal
program FPCUnitProject1;
|
|
|
|
{$mode objfpc}{$H+}
|
|
|
|
uses
|
|
Classes, consoletestrunner;
|
|
|
|
type
|
|
|
|
{ TLazTestRunner }
|
|
|
|
TMyTestRunner = class(TTestRunner)
|
|
protected
|
|
// override the protected methods of TTestRunner to customize its behavior
|
|
end;
|
|
|
|
var
|
|
Application: TMyTestRunner;
|
|
|
|
begin
|
|
Application := TMyTestRunner.Create(nil);
|
|
Application.Initialize;
|
|
Application.Title := 'FPCUnit Console test runner';
|
|
Application.Run;
|
|
Application.Free;
|
|
end.
|