13 * |
13 * |
14 * Description: mpxvideoplayerappuiengine test class for STIF testing |
14 * Description: mpxvideoplayerappuiengine test class for STIF testing |
15 * |
15 * |
16 */ |
16 */ |
17 |
17 |
18 // Version : %version: ou1cpsw#21 % |
18 // Version : %version: e92_22 % |
19 |
19 |
20 |
20 |
21 #include "mpxvideoplayer_appuienginetester.h" |
21 #include "mpxvideoplayer_appuienginetester.h" |
22 #include "mpxviewutilityimp_stub.h" |
22 #include "mpxviewutilityimp_stub.h" |
23 #include "mpxplaybackutilityimp_stub.h" |
23 #include "mpxplaybackutilityimp_stub.h" |
599 MPX_ENTER_EXIT(_L("CMpxVideoPlayer_AppUiEngineTester::AddEmbeddedPdlCallbacksL()")); |
599 MPX_ENTER_EXIT(_L("CMpxVideoPlayer_AppUiEngineTester::AddEmbeddedPdlCallbacksL()")); |
600 |
600 |
601 // |
601 // |
602 // We should get 4 callbacks |
602 // We should get 4 callbacks |
603 // iViewUtility->PreLoadViewL( PDL View Uid ) |
603 // iViewUtility->PreLoadViewL( PDL View Uid ) |
604 // iPlaybackUtility->Utility( Playback Plugin Uid ) |
|
605 // iPlaybackUtility->CommandL( EPbCmdStartPd ); |
604 // iPlaybackUtility->CommandL( EPbCmdStartPd ); |
606 // iPlaybackUtility->InitL( iFileName ); |
605 // iPlaybackUtility->InitL( iFileName ); |
607 // |
606 // |
608 TCallbackEvent* event = new (ELeave) TCallbackEvent; |
607 TCallbackEvent* event = new (ELeave) TCallbackEvent; |
609 event->iEvent = EViewUtilityPreLoadView; |
608 event->iEvent = EViewUtilityPreLoadView; |
610 event->iUid = KVideoPdlPlaybackViewUid; |
609 event->iUid = KVideoPdlPlaybackViewUid; |
611 AddExpectedEvent( event ); |
|
612 |
|
613 event = new (ELeave) TCallbackEvent; |
|
614 event->iEvent = EPlaybackUtilityPdlInstance; |
|
615 AddExpectedEvent( event ); |
610 AddExpectedEvent( event ); |
616 |
611 |
617 event = new (ELeave) TCallbackEvent; |
612 event = new (ELeave) TCallbackEvent; |
618 event->iEvent = EPlaybackUtilityStartPdl; |
613 event->iEvent = EPlaybackUtilityStartPdl; |
619 event->iDownloadId = aDownloadId; |
614 event->iDownloadId = aDownloadId; |