on xenial help sign in
Update dependencies... make Notification-qmltest not depend on the real backend, but use a fake one instead.
e8f886dMirco Müller
debian/control+2
@@ -40,8 +40,10 @@ Architecture: amd64 armhf i386
40Depends: indicators-client (>= 0.6.1),
40Depends: indicators-client (>= 0.6.1),
41 qtdeclarative5-dee-plugin,
41 qtdeclarative5-dee-plugin,
42 qtdeclarative5-ubuntu-ui-toolkit-plugin,
42 qtdeclarative5-ubuntu-ui-toolkit-plugin,
43+ qtdeclarative5-unity-notifications-plugin | unity-notifications-impl,
43 qtdeclarative5-xmllistmodel-plugin,
44 qtdeclarative5-xmllistmodel-plugin,
44 qtubuntu,
45 qtubuntu,
46+ unity-notifications-impl-1,
45 ${misc:Depends},
47 ${misc:Depends},
46 ${shlibs:Depends},
48 ${shlibs:Depends},
47Recommends: indicators-client-plugin-datetime (>= 0.6.1),
49Recommends: indicators-client-plugin-datetime (>= 0.6.1),
tests/qmltests/CMakeLists.txt+1−1
@@ -56,7 +56,7 @@ add_qml_test(Greeter Infographics IMPORT_PATHS ${qmltest_DEFAULT_IMPORT_PATHS} $
56add_qml_test(Hud Hud)
56add_qml_test(Hud Hud)
57add_qml_test(Hud Result)
57add_qml_test(Hud Result)
58add_qml_test(Launcher Launcher IMPORT_PATHS ${CMAKE_BINARY_DIR}/plugins ${qmltest_DEFAULT_IMPORT_PATHS})
58add_qml_test(Launcher Launcher IMPORT_PATHS ${CMAKE_BINARY_DIR}/plugins ${qmltest_DEFAULT_IMPORT_PATHS})
59−add_qml_test(Notifications Notifications)
59+add_qml_test(Notifications Notifications IMPORT_PATHS ${qmltest_DEFAULT_IMPORT_PATH} ${CMAKE_CURRENT_SOURCE_DIR/plugins})
60add_qml_test(Panel IndicatorRow)
60add_qml_test(Panel IndicatorRow)
61add_qml_test(Panel Indicators)
61add_qml_test(Panel Indicators)
62add_qml_test(Panel MenuContent)
62add_qml_test(Panel MenuContent)
tests/qmltests/plugins/Unity/Notifications/notifications.jsnew file+7
@@ -0,0 +1,7 @@
1+.pragma library
2+
3+var Confirmation = 0;
4+var Ephemeral = 1;
5+var Interactive = 2;
6+var SnapDecision = 3;
7+var PlaceHolder = 4;
tests/qmltests/plugins/Unity/Notifications/qmldirnew file+2
@@ -0,0 +1,2 @@
1+module Unity.Notifications
2+Notification 1.0 notification.js