Add test to ensure correct operation of DataGridWidget
This commit is contained in:
parent
c181fe99fa
commit
82cc9f14bc
6 changed files with 424 additions and 0 deletions
|
|
@ -3,6 +3,19 @@ add_executable(IntegrationTests
|
|||
tst_Smoke.cpp
|
||||
tst_CatalogLoad.cpp
|
||||
tst_DatabaseSizes.cpp
|
||||
tst_DataGridMapping.cpp
|
||||
tst_DataGridUpdate.cpp
|
||||
${CMAKE_SOURCE_DIR}/pglab/crud/CrudModel.cpp
|
||||
${CMAKE_SOURCE_DIR}/pglab/crud/DataGridWidget.cpp
|
||||
${CMAKE_SOURCE_DIR}/pglab/OpenDatabase.cpp
|
||||
${CMAKE_SOURCE_DIR}/pglab/util/PgLabItemDelegate.cpp
|
||||
${CMAKE_SOURCE_DIR}/pglab/util/Colors.cpp
|
||||
${CMAKE_SOURCE_DIR}/pglab/ResultTableModelUtil.cpp
|
||||
)
|
||||
|
||||
target_include_directories(IntegrationTests PRIVATE
|
||||
${CMAKE_SOURCE_DIR}/pglab
|
||||
${CMAKE_SOURCE_DIR}/pglab/crud
|
||||
)
|
||||
|
||||
target_link_libraries(IntegrationTests PRIVATE
|
||||
|
|
@ -10,6 +23,10 @@ target_link_libraries(IntegrationTests PRIVATE
|
|||
pglablib
|
||||
GTest::gtest
|
||||
Qt6::Core
|
||||
Qt6::Gui
|
||||
Qt6::Widgets
|
||||
Qt6::Sql
|
||||
Qt6::Concurrent
|
||||
)
|
||||
|
||||
target_compile_definitions(IntegrationTests PRIVATE
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue