mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2026-01-01 13:00:48 +01:00
* switch extension to .pas for files which shall be ignored
by the regression tests (they are found by the compiler automatically)
29 lines
507 B
ObjectPascal
29 lines
507 B
ObjectPascal
program testjsonconf;
|
|
|
|
{$mode objfpc}{$H+}
|
|
|
|
uses
|
|
{$ifdef unix}cwstring,{$endif}
|
|
Classes, consoletestrunner, jsonconftest, jsonconf;
|
|
|
|
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.
|