testcompat.lpr 716 B

123456789101112131415161718192021222324252627282930313233
  1. program testcompat;
  2. {$mode objfpc}{$H+}
  3. uses
  4. {$IFDEF UNIX}cwstring, cthreads,{$ENDIF}
  5. Classes, consoletestrunner, tcnetencoding, tciotuils,
  6. utmessagemanager, utcdevices, utcanalytics, utcimagelist,
  7. utcnotifications, utcjson, utcpush, utchash, utcregex,
  8. utcregexapi, utthreading, utccredentials;
  9. type
  10. { TMyTestRunner }
  11. TMyTestRunner = class(TTestRunner)
  12. protected
  13. // override the protected methods of TTestRunner to customize its behavior
  14. end;
  15. var
  16. Application: TMyTestRunner;
  17. begin
  18. DefaultRunAllTests:=true;
  19. DefaultFormat:=fPlain;
  20. Application := TMyTestRunner.Create(nil);
  21. Application.Initialize;
  22. Application.Title:='testcompat';
  23. Application.Run;
  24. Application.Free;
  25. end.