testrunner.rtlgenerics.pp 769 B

123456789101112131415161718192021222324252627282930313233343536
  1. { %CONFIGFILE=fpcunit-console-defaults.ini testdefaults.ini }
  2. { %SKIPTARGET=embedded,nativent,msdos,win16,macos,palmos }
  3. program testrunner.rtlgenerics;
  4. {$mode objfpc}{$H+}
  5. uses
  6. consoletestrunner,
  7. tests.generics.bugs,
  8. tests.generics.hashmaps,
  9. tests.generics.arrayhelper,
  10. tests.generics.trees,
  11. tests.generics.stdcollections,
  12. tests.generics.sets,
  13. tests.generics.queue,
  14. tests.generics.stack,
  15. tests.generics.dictionary
  16. ;
  17. var
  18. Application: TTestRunner;
  19. begin
  20. DefaultFormat:=fPlain;
  21. DefaultRunAllTests:=True;
  22. Application := TTestRunner.Create(nil);
  23. Application.Initialize;
  24. Application.Title := 'RTL-Generics unit tests';
  25. Application.Run;
  26. Application.Free;
  27. {$IFDEF WAIT_FOR_ENTER}
  28. WriteLn('Press enter...');
  29. ReadLn;
  30. {$ENDIF}
  31. end.