equal
deleted
inserted
replaced
21 #include <QtTest/QtTest> |
21 #include <QtTest/QtTest> |
22 |
22 |
23 class QTranslator; |
23 class QTranslator; |
24 class MpCollectionDataModel; |
24 class MpCollectionDataModel; |
25 class MpMpxCollectionData; |
25 class MpMpxCollectionData; |
|
26 class MpPlaybackData; |
26 class TestHelper; |
27 class TestHelper; |
27 |
28 |
28 class TestMpCollectionDataModel : public QObject |
29 class TestMpCollectionDataModel : public QObject |
29 { |
30 { |
30 Q_OBJECT |
31 Q_OBJECT |
74 void testRemoveRows(); |
75 void testRemoveRows(); |
75 void testMimeTypes(); |
76 void testMimeTypes(); |
76 void testMimeData(); |
77 void testMimeData(); |
77 void testDropMimeData(); |
78 void testDropMimeData(); |
78 void testSetContext(); |
79 void testSetContext(); |
|
80 void testFileCorrupted(); |
79 |
81 |
80 private: |
82 private: |
81 |
83 |
82 MpCollectionDataModel *mTest; |
84 MpCollectionDataModel *mTest; |
83 TestHelper *mHelper; |
85 TestHelper *mHelper; |
84 MpMpxCollectionData *mStubData; |
86 MpMpxCollectionData *mStubData; |
|
87 MpPlaybackData *mStubPlaybackData; |
85 QTranslator *mMpTranslator; // Own |
88 QTranslator *mMpTranslator; // Own |
86 |
89 |
87 }; |
90 }; |
88 |
91 |
89 #endif // TESTMPCOLLECTIONDATAMODEL_H |
92 #endif // TESTMPCOLLECTIONDATAMODEL_H |