homescreenapp/stateplugins/hshomescreenstateplugin/tsrc/t_hshomescreenstateplugin/src/t_hsidlestate.cpp
equal
deleted
inserted
replaced
517 // test cases where active widget is not set and stop widget drag (should not be possible in real life) |
517 // test cases where active widget is not set and stop widget drag (should not be possible in real life) |
518 QSignalSpy waitDeleteSpy(is, SIGNAL(event_MoveWidgetDelete())); |
518 QSignalSpy waitDeleteSpy(is, SIGNAL(event_MoveWidgetDelete())); |
519 QSignalSpy waitInputSpy(is, SIGNAL(event_waitInput())); |
519 QSignalSpy waitInputSpy(is, SIGNAL(event_waitInput())); |
520 scene->setActiveWidget(0); |
520 scene->setActiveWidget(0); |
521 is->onWidgetMoveFinished(QPointF(150, 150), widget); |
521 is->onWidgetMoveFinished(QPointF(150, 150), widget); |
522 QCOMPARE(waitInputSpy.count(), 2); |
522 QCOMPARE(waitInputSpy.count(), 1); |
523 QCOMPARE(waitDeleteSpy.count(), 1); |
523 QCOMPARE(waitDeleteSpy.count(), 1); |
524 |
524 |
525 is->pageChangeAnimationFinished(); |
525 is->pageChangeAnimationFinished(); |
526 |
526 |
527 |
527 |