mpengine/tsrc/unittest_mpmpxcollectionframeworkwrapper/src/unittest_mpmpxcollectionframeworkwrapper.cpp
equal
deleted
inserted
replaced
586 */ |
586 */ |
587 void TestMpMpxCollectionFrameworkWrapper::testDeleteSongs() |
587 void TestMpMpxCollectionFrameworkWrapper::testDeleteSongs() |
588 { |
588 { |
589 QList<int> selection; |
589 QList<int> selection; |
590 selection.append(1); |
590 selection.append(1); |
|
591 mTest->deleteSongs(selection); |
|
592 QCOMPARE(mTestPrivate->iCollectionUiHelper->iDelete, TBool(ETrue)); |
591 selection.append(3); |
593 selection.append(3); |
|
594 selection.append(4); |
592 selection.append(5); |
595 selection.append(5); |
593 mTest->deleteSongs(selection); |
596 mTest->deleteSongs(selection); |
594 QCOMPARE(mTestPrivate->iCollectionUiHelper->iDelete, TBool(ETrue)); |
597 QCOMPARE(mTestPrivate->iCollectionUiHelper->iDelete, TBool(ETrue)); |
595 } |
598 } |
596 |
599 |