testsqlscanner.lpr 542 B

1234567891011121314151617181920212223242526272829303132
  1. program testsqlscanner;
  2. {$mode objfpc}{$H+}
  3. uses
  4. Classes, consoletestrunner, tcsqlscanner,
  5. fpsqltree, fpsqlscanner, fpsqlparser,
  6. tcparser, tcgensql;
  7. type
  8. { TLazTestRunner }
  9. TMyTestRunner = class(TTestRunner)
  10. protected
  11. // override the protected methods of TTestRunner to customize its behavior
  12. end;
  13. var
  14. Application: TMyTestRunner;
  15. {$R *.res}
  16. begin
  17. DefaultFormat:=fPlain;
  18. DefaultRunAllTests:=True;
  19. Application := TMyTestRunner.Create(nil);
  20. Application.Initialize;
  21. Application.Run;
  22. Application.Free;
  23. end.