mpdata/tsrc/unittest_mpcollectiontbonelistdatamodel/inc/unittest_mpcollectiontbonelistdatamodel.h
changeset 55 f3930dda3342
parent 35 fdb31ab341af
equal deleted inserted replaced
51:560ce2306a17 55:f3930dda3342
    21 #include <QtTest/QtTest>
    21 #include <QtTest/QtTest>
    22 
    22 
    23 class QTranslator;
    23 class QTranslator;
    24 class MpCollectionTBoneListDataModel;
    24 class MpCollectionTBoneListDataModel;
    25 class MpMpxCollectionData;
    25 class MpMpxCollectionData;
       
    26 class MpPlaybackData;
    26 class TestHelper;
    27 class TestHelper;
    27 
    28 
    28 class TestMpCollectionTBoneListDataModel : public QObject
    29 class TestMpCollectionTBoneListDataModel : public QObject
    29 {
    30 {
    30     Q_OBJECT
    31     Q_OBJECT
    50     void testMemberCleanup();
    51     void testMemberCleanup();
    51     void testRefreshModel();
    52     void testRefreshModel();
    52     void testData();
    53     void testData();
    53     void testDataNoData();
    54     void testDataNoData();
    54     void testDataAnyOtherRole();
    55     void testDataAnyOtherRole();
       
    56     void testFileCorrupted();
       
    57     void testEnablePlaybackIndicatorEnable();
    55 
    58 
    56 private:
    59 private:
    57 
    60 
    58     MpCollectionTBoneListDataModel  *mTest;
    61     MpCollectionTBoneListDataModel  *mTest;
    59     TestHelper                      *mHelper;
    62     TestHelper                      *mHelper;
    60     MpMpxCollectionData             *mStubData;
    63     MpMpxCollectionData             *mStubData;
       
    64     MpPlaybackData                  *mStubPlaybackData;
    61     QTranslator                     *mMpTranslator; // Own
    65     QTranslator                     *mMpTranslator; // Own
    62 
    66 
    63 };
    67 };
    64 
    68 
    65 #endif  // TESTMPCOLLECTIONTBONELISTDATAMODEL_H
    69 #endif  // TESTMPCOLLECTIONTBONELISTDATAMODEL_H