testclasses.lpr 570 B

1234567891011121314151617181920212223242526272829
  1. program testclasses;
  2. {$mode objfpc}{$H+}
  3. uses
  4. Classes, tcfindnested, tcstringlist, tccollection, tclist,
  5. tcpersistent, tclinkedlist, tccomponent, tcstreaming, tccompstreaming,
  6. tcresref,
  7. consoletestrunner;
  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. Application.Initialize;
  19. Application.Title:='Test classes';
  20. Application.Run;
  21. Application.Free;
  22. end.