testrunner.rtlobjpas.pp 468 B

12345678910111213141516171819202122232425
  1. { %CONFIGFILE=fpcunit-console-defaults.ini testdefaults.ini }
  2. program testrunner.rtlobjpas;
  3. {$mode objfpc}{$H+}
  4. { Invoke needs a function call manager }
  5. {.$define testinvoke}
  6. uses
  7. consoletestrunner,
  8. {$ifdef testinvoke}
  9. tests.rtti.invoke,
  10. {$endif}
  11. tests.rtti;
  12. var
  13. Application: TTestRunner;
  14. begin
  15. Application := TTestRunner.Create(nil);
  16. Application.Initialize;
  17. Application.Title := 'RTL-ObjPas unit tests';
  18. Application.Run;
  19. Application.Free;
  20. end.