homescreenapp/stateplugins/hshomescreenstateplugin/tsrc/t_hshomescreenstateplugin/src/t_hsidlestate.cpp
changeset 97 66b5fe3c07fd
parent 90 3ac3aaebaee5
child 101 ba1b7e218624
equal deleted inserted replaced
95:32e56106abf2 97:66b5fe3c07fd
   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