testpassrc.lpr 735 B

1234567891011121314151617181920212223242526272829303132333435
  1. program testpassrc;
  2. {$mode objfpc}{$H+}
  3. uses
  4. {$IFDEF UNIX}
  5. cwstring,
  6. {$ENDIF}
  7. //MemCheck,
  8. Classes, consoletestrunner, tcscanner, tctypeparser, tcstatements,
  9. tcbaseparser, tcmoduleparser, tconstparser, tcvarparser, tcclasstype,
  10. tcexprparser, tcprocfunc, tcpassrcutil, TCGenerics,
  11. TCResolver, TCResolveGenerics, TCResolveMultiErrors,
  12. TCUseAnalyzer;
  13. type
  14. { TLazTestRunner }
  15. TMyTestRunner = class(TTestRunner)
  16. protected
  17. // override the protected methods of TTestRunner to customize its behavior
  18. end;
  19. var
  20. Application: TMyTestRunner;
  21. begin
  22. Application := TMyTestRunner.Create(nil);
  23. DefaultFormat:=fplain;
  24. DefaultRunAllTests:=True;
  25. Application.Initialize;
  26. Application.Run;
  27. Application.Free;
  28. end.