testjs.lpr 545 B

1234567891011121314151617181920212223242526272829
  1. program testjs;
  2. {$mode objfpc}{$H+}
  3. uses
  4. Classes, consoletestrunner, tcscanner, jsparser, jsscanner, jstree, jsbase,
  5. tcparser;
  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. {$IFDEF WINDOWS}{$R testjs.rc}{$ENDIF}
  15. begin
  16. Application := TMyTestRunner.Create(nil);
  17. Application.Initialize;
  18. Application.Title := 'FPCUnit Console test runner';
  19. Application.Run;
  20. Application.Free;
  21. end.