fpcunithpack.lpr 472 B

123456789101112131415161718192021222324252627
  1. program fpcunithpack;
  2. {$mode objfpc}{$H+}
  3. uses
  4. Classes, consoletestrunner, uhpacktest1,sysutils;
  5. type
  6. { TLazTestRunner }
  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.Run;
  19. Application.Free;
  20. end.