You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

31 lines
881 B

set(proxyModelSmokeTestSources
kselectionproxymodeltestsuite.cpp
)
remove_definitions(-DQT_NO_CAST_TO_ASCII)
remove_definitions(-DQT_NO_CAST_FROM_ASCII)
remove_definitions(-DQT_NO_CAST_FROM_BYTEARRAY)
find_package(Qt5 ${REQUIRED_QT_VERSION} CONFIG REQUIRED Test Widgets)
add_subdirectory(proxymodeltestsuite)
include(ECMAddTests)
ecm_add_tests(
kdescendantsproxymodel_smoketest.cpp
klinkitemselectionmodeltest.cpp
testmodelqueuedconnections.cpp
kselectionproxymodeltest.cpp
LINK_LIBRARIES KF5::ItemModels Qt5::Test Qt5::Widgets proxymodeltestsuite
)
#we need additional sources for this test, can't use it in ecm_add_tests
ecm_add_test(kselectionproxymodel_smoketest.cpp ${proxyModelSmokeTestSources}
TEST_NAME "kselectionproxymodel_smoketest"
LINK_LIBRARIES KF5::ItemModels Qt5::Test Qt5::Widgets proxymodeltestsuite
)
add_subdirectory(proxymodeltestapp)