Rename unit tests which use the ProxyModelTestSuite.

Clear the namespace for unit tests which look like normal Qt unit tests.
wilder
Stephen Kelly 11 years ago
parent a2da794f34
commit 9ba41df61b
  1. 8
      autotests/CMakeLists.txt
  2. 3
      autotests/kdescendantsproxymodel_smoketest.cpp
  3. 0
      autotests/kselectionproxymodel_smoketest.cpp

@ -1,5 +1,5 @@
set(proxyModelTestSources set(proxyModelSmokeTestSources
kselectionproxymodeltestsuite.cpp kselectionproxymodeltestsuite.cpp
) )
@ -15,15 +15,15 @@ add_subdirectory(proxymodeltestsuite)
include(ECMAddTests) include(ECMAddTests)
ecm_add_tests( ecm_add_tests(
kdescendantsproxymodeltest.cpp kdescendantsproxymodel_smoketest.cpp
klinkitemselectionmodeltest.cpp klinkitemselectionmodeltest.cpp
testmodelqueuedconnections.cpp testmodelqueuedconnections.cpp
LINK_LIBRARIES KF5::ItemModels Qt5::Test Qt5::Widgets proxymodeltestsuite LINK_LIBRARIES KF5::ItemModels Qt5::Test Qt5::Widgets proxymodeltestsuite
) )
#we need additional sources for this test, can't use it in ecm_add_tests #we need additional sources for this test, can't use it in ecm_add_tests
ecm_add_test(kselectionproxymodeltest.cpp ${proxyModelTestSources} ecm_add_test(kselectionproxymodel_smoketest.cpp ${proxyModelSmokeTestSources}
TEST_NAME "kselectionproxymodeltest" TEST_NAME "kselectionproxymodel_smoketest"
LINK_LIBRARIES KF5::ItemModels Qt5::Test Qt5::Widgets proxymodeltestsuite LINK_LIBRARIES KF5::ItemModels Qt5::Test Qt5::Widgets proxymodeltestsuite
) )

@ -255,5 +255,4 @@ PROXYMODELTEST_MAIN(DescendantsProxyModelTest,
PROXYMODELTEST_CUSTOM(new TestData, IntermediateProxy, LazyPersistence, "") PROXYMODELTEST_CUSTOM(new TestData, IntermediateProxy, LazyPersistence, "")
) )
#include "kdescendantsproxymodeltest.moc" #include "kdescendantsproxymodel_smoketest.moc"
Loading…
Cancel
Save