testfpweb.lpr 585 B

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