on xenial help sign in
s/DirectionalDragAreaTest/testDirectionalDragArea
ffa9e4aDaniel d'Andrada
tests/plugins/Ubuntu/Gestures/CMakeLists.txt+5−3
@@ -11,9 +11,9 @@ set(testCommand
11 -o ${CMAKE_BINARY_DIR}/DirectionalDragAreaTest.xml,xunitxml
11 -o ${CMAKE_BINARY_DIR}/DirectionalDragAreaTest.xml,xunitxml
12 -o -,txt)
12 -o -,txt)
13
13
14−add_custom_target(DirectionalDragAreaTest ${testCommand})
14+add_custom_target(testDirectionalDragArea ${testCommand})
15−add_dependencies(qmluitests DirectionalDragAreaTest)
15+add_dependencies(qmluitests testDirectionalDragArea)
16−add_dependencies(DirectionalDragAreaTest DirectionalDragAreaTestExec UbutunGesturesTestQmlFiles)
16+add_dependencies(testDirectionalDragArea DirectionalDragAreaTestExec UbutunGesturesTestQmlFiles)
17
17
18add_executable(DirectionalDragAreaTestExec tst_DirectionalDragArea.cpp)
18add_executable(DirectionalDragAreaTestExec tst_DirectionalDragArea.cpp)
19qt5_use_modules(DirectionalDragAreaTestExec Test Core Qml Gui Quick)
19qt5_use_modules(DirectionalDragAreaTestExec Test Core Qml Gui Quick)
@@ -27,6 +27,8 @@ add_custom_target(UbuntuGesturesTestQmlFiles ALL
27 DEPENDS ${qmlFiles}
27 DEPENDS ${qmlFiles}
28)
28)
29
29
30+########## other tests
31+
30macro(add_gesture_test CLASSNAME)
32macro(add_gesture_test CLASSNAME)
31 set(testCommand
33 set(testCommand
32 ${CLASSNAME}TestExec -o ${CMAKE_BINARY_DIR}/test${CLASSNAME}.xml,xunitxml -o -,txt)
34 ${CLASSNAME}TestExec -o ${CMAKE_BINARY_DIR}/test${CLASSNAME}.xml,xunitxml -o -,txt)