testfpweb.lpr 656 B

123456789101112131415161718192021222324252627282930
  1. program testfpweb;
  2. {$mode objfpc}{$H+}
  3. uses
  4. Classes, consoletestrunner, tchttproute, tcjwt, tccookies, jsonparser,
  5. fpjwasha256, fpjwasha512, fpjwasha384, fpjwaes256, fpjwarsa, testsqldbopenapi, sqldbrestopenapi;
  6. type
  7. { TMyTestRunner }
  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. Randomize;
  16. DefaultFormat:=fPlain;
  17. DefaultRunAllTests:=True;
  18. Application := TMyTestRunner.Create(nil);
  19. Application.Initialize;
  20. Application.Title := 'FPCUnit Console test runner';
  21. Application.Run;
  22. Application.Free;
  23. end.