testfpimage.lpr 542 B

123456789101112131415161718192021222324252627
  1. program testfpimage;
  2. {$mode objfpc}{$H+}
  3. uses
  4. sysutils,Classes, consoletestrunner, tcbarcodes, fpbarcode, barcode;
  5. type
  6. { TMyTestRunner }
  7. TMyTestRunner = class(TTestRunner)
  8. protected
  9. // override the protected methods of TTestRunner to customize its behavior
  10. end;
  11. var
  12. Application: TMyTestRunner;
  13. begin
  14. DefaultFormat:=fPlain;
  15. DefaultRunAllTests:=true;
  16. Application := TMyTestRunner.Create(nil);
  17. Application.Initialize;
  18. Application.Title := 'FPCUnit Console test runner';
  19. Application.Run;
  20. Application.Free;
  21. end.