Reorder Tests

Some tests are testing underlying components, these should be tested
before testing the components that depend on them.

REVIEW: 118680
wilder
Thomas Braxton 12 years ago
parent 3fd69a4541
commit d6bcd49943
  1. 24
      autotests/CMakeLists.txt

@ -16,18 +16,6 @@ if(NOT Qt5Concurrent_FOUND)
return()
endif()
ecm_add_tests(
kconfignokdehometest.cpp
kconfigtest.cpp
kdesktopfiletest.cpp
ksharedconfigtest.cpp
test_kconf_update.cpp
NAME_PREFIX kconfigcore-
LINK_LIBRARIES KF5::ConfigCore Qt5::Test Qt5::Concurrent
)
target_include_directories(kconfigcore-test_kconf_update PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/../src/kconf_update)
# compile KEntryMap into the test since it's not exported
set(kentrymaptest_SRCS kentrymaptest.cpp ../src/core/kconfigdata.cpp)
ecm_add_test(${kentrymaptest_SRCS}
@ -43,6 +31,18 @@ ecm_add_test(${test_kconfigutils_SRCS}
)
target_include_directories(kconfigcore-test_kconfigutils PRIVATE ../src/kconf_update)
ecm_add_tests(
kconfignokdehometest.cpp
kconfigtest.cpp
kdesktopfiletest.cpp
ksharedconfigtest.cpp
test_kconf_update.cpp
NAME_PREFIX kconfigcore-
LINK_LIBRARIES KF5::ConfigCore Qt5::Test Qt5::Concurrent
)
target_include_directories(kconfigcore-test_kconf_update PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/../src/kconf_update)
ecm_add_tests(
kconfigguitest.cpp
kconfigloadertest.cpp

Loading…
Cancel
Save