mpviewplugins/mpcollectionviewplugin/tsrc/unittest_mpmpxcollectiondata/src/unittest_mpmpxcollectiondata.cpp
changeset 20 82baf59ce8dd
parent 19 4e84c994a771
equal deleted inserted replaced
19:4e84c994a771 20:82baf59ce8dd
   490     // All Albums
   490     // All Albums
   491     entries->SetTObjectValueL<TMPXGeneralType>(KMPXMediaGeneralType, EMPXGroup);
   491     entries->SetTObjectValueL<TMPXGeneralType>(KMPXMediaGeneralType, EMPXGroup);
   492     entries->SetTObjectValueL<TMPXGeneralCategory>(KMPXMediaGeneralCategory, EMPXAlbum);
   492     entries->SetTObjectValueL<TMPXGeneralCategory>(KMPXMediaGeneralCategory, EMPXAlbum);
   493     mTestPrivate->iContainerMedia = entries;
   493     mTestPrivate->iContainerMedia = entries;
   494     mTestPrivate->SetCollectionContextL();
   494     mTestPrivate->SetCollectionContextL();
   495     QCOMPARE(mTestPrivate->iContext,ECollectionContextArtistAlbums);
   495     QCOMPARE(mTestPrivate->iContext,ECollectionContextAlbums);
   496     
   496 
   497     // All songs in one or multiple albums
   497     // All songs in one or multiple albums
   498     entries->SetTObjectValueL<TMPXGeneralType>(KMPXMediaGeneralType, EMPXItem);
   498     entries->SetTObjectValueL<TMPXGeneralType>(KMPXMediaGeneralType, EMPXItem);
   499     entries->SetTObjectValueL<TMPXGeneralCategory>(KMPXMediaGeneralCategory, EMPXAlbum);
   499     entries->SetTObjectValueL<TMPXGeneralCategory>(KMPXMediaGeneralCategory, EMPXAlbum);
   500     mTestPrivate->iContainerMedia = entries;
   500     mTestPrivate->iContainerMedia = entries;
   501     mTestPrivate->SetCollectionContextL();
   501     mTestPrivate->SetCollectionContextL();