mpviewplugins/mpplaybackviewplugin/tsrc/unittest_mpplaybackwidget/src/unittest_mpplaybackwidget.cpp
equal
deleted
inserted
replaced
156 |
156 |
157 QVERIFY( mTest->mAlbumArt->mIcon == mTest->mPlaybackData->mAlbumArt ); |
157 QVERIFY( mTest->mAlbumArt->mIcon == mTest->mPlaybackData->mAlbumArt ); |
158 QVERIFY( mTest->mAlbumArt->isEnabled() == true ); |
158 QVERIFY( mTest->mAlbumArt->isEnabled() == true ); |
159 } |
159 } |
160 |
160 |
|
161 /*! |
|
162 test handleLcdLightStatus |
|
163 */ |
|
164 void TestMpPlaybackWidget::testHandleLcdLightStatus( ) |
|
165 { |
|
166 mTest->handleLcdLightStatus( true ); |
|
167 testPlaybackInfoChanged(); |
|
168 |
|
169 } |
|
170 |
|
171 /*! |
|
172 test handleCollectionPlaylistOpened |
|
173 */ |
|
174 void TestMpPlaybackWidget::testHandleCollectionPlaylistOpened() |
|
175 { |
|
176 mTest->handleCollectionPlaylistOpened(); |
|
177 QVERIFY( mTest->mSongTitle->plainText() == " " ); |
|
178 QVERIFY( mTest->mArtistName->plainText() == " " ); |
|
179 QVERIFY( mTest->mAlbumName->plainText() == " " ); |
|
180 } |
|
181 |
161 |
182 |
162 // End of file |
183 // End of file |