testpassrc.lpr 658 B

123456789101112131415161718192021222324252627282930
  1. program testpassrc;
  2. {$mode objfpc}{$H+}
  3. uses
  4. Classes, consoletestrunner, tcscanner, tctypeparser, tcstatements,
  5. tcbaseparser, tcmoduleparser, tconstparser, tcvarparser, tcclasstype,
  6. tcexprparser, tcprocfunc, tcpassrcutil, tcresolver, tcgenerics,
  7. tcuseanalyzer, pasresolveeval;
  8. type
  9. { TLazTestRunner }
  10. TMyTestRunner = class(TTestRunner)
  11. protected
  12. // override the protected methods of TTestRunner to customize its behavior
  13. end;
  14. var
  15. Application: TMyTestRunner;
  16. begin
  17. Application := TMyTestRunner.Create(nil);
  18. DefaultFormat:=fplain;
  19. DefaultRunAllTests:=True;
  20. Application.Initialize;
  21. Application.Run;
  22. Application.Free;
  23. end.