testdbdigest.lpr 558 B

12345678910111213141516171819202122232425262728
  1. program testdbdigest;
  2. {$mode objfpc}{$H+}
  3. uses
  4. Classes, consoletestrunner, tctestsql, dbtests, digestanalyst, tcsetup, tcanalyst;
  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. DefaultRunAllTests:=True;
  15. DefaultFormat:=fPlain;
  16. Application := TMyTestRunner.Create(nil);
  17. Application.Initialize;
  18. Application.Title := 'FPCUnit Console test runner';
  19. Application.Run;
  20. Application.Free;
  21. end.