Execute automated tests for wxPropertyGrid

Move existing manually executed tests in propgrid sample to the test
suite executed automatically.
This commit is contained in:
Artur Wieczorek 2023-01-29 18:46:08 +01:00 committed by AW
parent 93c6551364
commit ec25a5c83c
22 changed files with 2005 additions and 1997 deletions

View file

@ -115,7 +115,7 @@ wx_add_sample(power)
wx_add_sample(preferences DEPENDS wxUSE_PREFERENCES_EDITOR)
wx_add_sample(printing printing.cpp printing.h DEPENDS wxUSE_PRINTING_ARCHITECTURE)
wx_add_sample(propgrid propgrid.cpp propgrid_minimal.cpp sampleprops.cpp
tests.cpp sampleprops.h propgrid.h LIBRARIES wxpropgrid NAME propgriddemo DEPENDS wxUSE_PROPGRID)
sampleprops.h propgrid.h LIBRARIES wxpropgrid NAME propgriddemo DEPENDS wxUSE_PROPGRID)
wx_add_sample(render FOLDER render)
wx_add_sample(render DLL renddll.cpp NAME renddll FOLDER render)
wx_add_sample(ribbon ribbondemo.cpp LIBRARIES wxribbon NAME ribbondemo DEPENDS wxUSE_RIBBON)

View file

@ -59,6 +59,7 @@ set(TEST_GUI_SRC
controls/ownerdrawncomboboxtest.cpp
controls/pickerbasetest.cpp
controls/pickertest.cpp
controls/propgridtest.cpp
controls/radioboxtest.cpp
controls/radiobuttontest.cpp
controls/rearrangelisttest.cpp
@ -229,3 +230,6 @@ endif()
if(wxUSE_WEBVIEW)
wx_exe_link_libraries(test_gui wxwebview)
endif()
if(wxUSE_PROPGRID)
wx_exe_link_libraries(test_gui wxpropgrid)
endif()