on xenial help sign in
clear the model before each testcase

mainly to get rid of the placeholder

commit301ff9175f0a4646a1c02a748aa3bede5f2fef9d authorLukáš Tinkl <lukas.tinkl@canonical.com> dateTue 12 Apr 2016, 19:32 (11 years ago) parent65478ea
1 file changed+6
tests/qmltests/Notifications/tst_Notifications.qml+6
tests/qmltests/Notifications/tst_Notifications.qml+6
@@ -555,6 +555,12 @@ Item {
555555 signalName: "actionInvoked"
556556 }
557557
558+ function init() {
559+ while (mockModel.count > 0) {
560+ mockModel.remove(0);
561+ }
562+ }
563+
558564 function cleanup() {
559565 clickThroughSpy.clear()
560566 actionSpy.clear()