fpc/packages/fcl-openapi/tests/testopenapi.pp
2024-11-16 14:36:17 +01:00

30 lines
655 B
ObjectPascal

program testopenapi;
{$mode objfpc}{$H+}
uses
Classes, consoletestrunner, utOpenApi, fpopenapi.consts, fpopenapi.types, fpopenapi.objects, utOpenApiReader, utOpenAPIWriter,
fpopenapi.reader, jsonparser, UtOpenApiPascalTypes;
type
{ TMyTestRunner }
TMyTestRunner = class(TTestRunner)
protected
// override the protected methods of TTestRunner to customize its behavior
end;
var
Application: TMyTestRunner;
begin
DefaultRunAllTests:=True;
DefaultFormat:=fPlain;
Application := TMyTestRunner.Create(nil);
Application.Initialize;
Application.Title := 'FPCUnit Console test runner';
Application.Run;
Application.Free;
end.