tstrutils.lpr 482 B

1234567891011121314151617181920212223242526
  1. program tstrutils;
  2. {$mode objfpc}{$H+}
  3. uses
  4. Classes, consoletestrunner, tcstrutils, tcstringlist, tclist;
  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. Application := TMyTestRunner.Create(nil);
  15. Application.Initialize;
  16. Application.Title := 'FPCUnit Console test runner';
  17. Application.Run;
  18. Application.Free;
  19. end.