testsqlscanner.lpr 581 B

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