~artmello/ubuntu-system-settings/category-list-view

« back to all changes in this revision

Viewing changes to tests/plugins/CMakeLists.txt

  • Committer: Bileto Bot
  • Author(s): Jonas G. Drange, Ken VanDine
  • Date: 2016-12-07 15:16:59 UTC
  • mfrom: (1728.1.9 main_list_view)
  • Revision ID: ci-train-bot@canonical.com-20161207151659-1geuqsfkt82mth1m
* Replaces the grid with a list
* Replaces MainWindow search with PageHeader search
* Adds testing of new PageHeader search (and mocks PluginManager. This is a bit hacky, since SystemSettings implicitly provides PluginManager in main.cpp)

Approved by: Jonas G. Drange, Ken VanDine

Show diffs side-by-side

added added

removed removed

Lines of Context:
56
56
    IMPORT_PATHS ${SYSTEMUPDATE_IMPORT_PATHS}
57
57
)
58
58
 
 
59
add_qml_test(main MainWindow
 
60
    IMPORT_PATHS
 
61
    ${CMAKE_BINARY_DIR}/tests/mocks/
 
62
    ${CMAKE_SOURCE_DIR}/tests/plugins/main
 
63
    ${qmltest_DEFAULT_IMPORT_PATHS}
 
64
)
 
65
 
59
66
set(LAUNCHER_IMPORT_PATHS
60
 
    ${CMAKE_SOURCE_DIR}/src
61
 
    ${CMAKE_BINARY_DIR}/tests/utils/modules
62
67
    ${CMAKE_BINARY_DIR}/tests/mocks/
63
68
    ${CMAKE_SOURCE_DIR}/tests/plugins/launcher
 
69
    ${qmltest_DEFAULT_IMPORT_PATHS}
64
70
)
65
71
add_qml_test(launcher LauncherPageComponent IMPORT_PATHS ${LAUNCHER_IMPORT_PATHS})