on xenial help sign in
Add a OSKController to mock Unity.Application
commit788de8f666e9d9fc44d2c6bf31805cbe551825f9 authorGerry Boland <gerry.boland@canonical.com> dateTue 10 Sep 2013, 17:03 (13 years ago) parentd47d016
2 files changed+6−1
tests/mocks/Unity/Application/CMakeLists.txt+5−1 tests/mocks/Unity/Application/qmldir+1
tests/mocks/Unity/Application/CMakeLists.txt+5−1
@@ -23,11 +23,15 @@ add_custom_target(InputFilterAreaQmlFile ALL
2323 COMMAND cp "${CMAKE_CURRENT_SOURCE_DIR}/InputFilterArea.qml" ${CMAKE_CURRENT_BINARY_DIR}
2424 DEPENDS InputFilterArea.qml
2525)
26+add_custom_target(OSKControllerQmlFile ALL
27+ COMMAND cp "${CMAKE_CURRENT_SOURCE_DIR}/OSKController.qml" ${CMAKE_CURRENT_BINARY_DIR}
28+ DEPENDS OSKController.qml
29+)
2630
2731install(TARGETS FakeUnityApplicationQml
2832 DESTINATION ${SHELL_PRIVATE_LIBDIR}/qml/mocks/Unity/Application
2933 )
3034
31−install(FILES qmldir InputFilterArea.qml
35+install(FILES qmldir InputFilterArea.qml OSKController.qml
3236 DESTINATION ${SHELL_PRIVATE_LIBDIR}/qml/mocks/Unity/Application
3337 )
tests/mocks/Unity/Application/qmldir+1
@@ -1,3 +1,4 @@
11module Unity.Application
22plugin FakeUnityApplicationQml
33InputFilterArea 0.1 InputFilterArea.qml
4+OSKController 0.1 OSKController.qml