1set(INDICATORS_DIR ${CMAKE_CURRENT_SOURCE_DIR}/../../../../plugins/Unity/Indicators)
2set(TEST_DIR ${CMAKE_CURRENT_SOURCE_DIR}/../../..)
5 ${CMAKE_CURRENT_BINARY_DIR}
7 ${TEST_DIR}/mocks/QMenuModel
12macro(indicator_test TEST)
13 set(multi_value_keywords ADDITIONAL_CPPS ADDITIONAL_LIBS)
14 cmake_parse_arguments(test "" "" "${multi_value_keywords}" ${ARGN})
16 add_executable(${TEST}Exec
18 ${test_ADDITIONAL_CPPS}
20 qt5_use_modules(${TEST}Exec Test Core Qml DBus)
21 target_link_libraries(${TEST}Exec
22 ${test_ADDITIONAL_LIBS}
28 add_unity8_unittest(${TEST} ${TEST}Exec)
29endmacro(indicator_test)
31indicator_test(IndicatorsManager ADDITIONAL_LIBS IndicatorsQml)
32indicator_test(IndicatorsModel ADDITIONAL_LIBS IndicatorsQml)
33indicator_test(MenuContentActivator ADDITIONAL_CPPS ${INDICATORS_DIR}/menucontentactivator.cpp)
34indicator_test(UnityMenuModelStack ADDITIONAL_CPPS ${TEST_DIR}/mocks/QMenuModel/unitymenumodel.cpp ${INDICATORS_DIR}/unitymenumodelstack.cpp)
35indicator_test(RootActionState ADDITIONAL_LIBS IndicatorsQml)
36indicator_test(SharedUnityMenuModel ADDITIONAL_LIBS IndicatorsQml)
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list