testclasses.lpr 555 B

123456789101112131415161718192021222324252627
  1. program testclasses;
  2. {$mode objfpc}{$H+}
  3. uses
  4. Classes, tcfindnested, tcstringlist, tccollection, tclist,
  5. tcpersistent, tclinkedlist, tccomponent, tcstreaming, tccompstreaming,consoletestrunner;
  6. type
  7. { TLazTestRunner }
  8. TMyTestRunner = class(TTestRunner)
  9. protected
  10. // override the protected methods of TTestRunner to customize its behavior
  11. end;
  12. var
  13. Application: TMyTestRunner;
  14. begin
  15. Application := TMyTestRunner.Create(nil);
  16. Application.Initialize;
  17. Application.Title:='Test classes';
  18. Application.Run;
  19. Application.Free;
  20. end.