2
0

dbtestframework_gui.lpr 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. program dbtestframework_gui;
  2. {$mode objfpc}{$H+}
  3. // Note that this Lazarus project by default re-compiles all DB units! This eases
  4. // developing, but requires some attention from the developer.
  5. // It could very well be that after compiling this project, you have to manually clean
  6. // the .ppu files before you can build fcl-db in the regular way. (Using fpmake)
  7. // If you want to use the default installed db units, use the
  8. // Default_no_local_ppus build mode which clears the search path in the compiler
  9. // options.
  10. uses
  11. Interfaces, Forms,
  12. // GUI:
  13. StdCtrls {to extend GuiTestRunner},
  14. DBGuiTestRunner, inieditor,
  15. // Generic DB test framework units
  16. ToolsUnit,
  17. // Connectors for different database types
  18. sqldbtoolsunit,
  19. dbftoolsunit,
  20. bufdatasettoolsunit,
  21. memdstoolsunit,
  22. SdfDSToolsUnit,
  23. {$IFDEF TEST_SQLITE3DS}
  24. Sqlite3DSToolsUnit,
  25. TestSpecificTSqlite3Dataset,
  26. {$ENDIF}
  27. // DB unittest
  28. TestBasics,
  29. TestDBBasics,
  30. TestFieldTypes,
  31. TestDatasources,
  32. TestBufDatasetStreams,
  33. TestSQLDB,
  34. TestSpecificTBufDataset,
  35. TestSpecificTDBF,
  36. TestSpecificTMemDataset,
  37. tcsdfdata,
  38. tccsvdataset,
  39. TestDBExport;
  40. {$R *.res}
  41. begin
  42. Application.Title:='DBTestFramework';
  43. Application.Initialize;
  44. Application.CreateForm(TDBGuiTestRunnerForm, DBGuiTestRunnerForm);
  45. Application.Run;
  46. end.