testjsonconf.pas 507 B

12345678910111213141516171819202122232425262728
  1. program testjsonconf;
  2. {$mode objfpc}{$H+}
  3. uses
  4. {$ifdef unix}cwstring,{$endif}
  5. Classes, consoletestrunner, jsonconftest, jsonconf;
  6. type
  7. { TLazTestRunner }
  8. TMyTestRunner = class(TTestRunner)
  9. protected
  10. // override the protected methods of TTestRunner to customize its behavior
  11. end;
  12. var
  13. Application: TMyTestRunner;
  14. begin
  15. DefaultFormat:=fPlain;
  16. DefaultRunAllTests:=True;
  17. Application := TMyTestRunner.Create(nil);
  18. Application.Initialize;
  19. Application.Run;
  20. Application.Free;
  21. end.