videoplayback/videohelix/tsrc/ut_videohelixtest/src/videohelixtestbody.cpp
changeset 62 0e1e938beb1a
parent 52 e3cecb93e76a
child 66 adb51f74b890
equal deleted inserted replaced
59:a76e86df7ccd 62:0e1e938beb1a
    13 *
    13 *
    14 * Description:  Test Harness for VideoHelixPlaybackPlugin
    14 * Description:  Test Harness for VideoHelixPlaybackPlugin
    15 *
    15 *
    16 */
    16 */
    17 
    17 
    18 // Version : %version: 26 %
    18 // Version : %version: 27 %
    19 
    19 
    20 
    20 
    21 // [INCLUDE FILES] - do not remove
    21 // [INCLUDE FILES] - do not remove
    22 #include <e32svr.h>
    22 #include <e32svr.h>
    23 #include <stifparser.h>
    23 #include <stifparser.h>
  1956     MPX_ENTER_EXIT(_L("CVHPPTestClass::PlayduringVoiceCall()"));
  1956     MPX_ENTER_EXIT(_L("CVHPPTestClass::PlayduringVoiceCall()"));
  1957     iLog->Log(_L("CVHPPTestClass::PlayduringVoiceCall()"));
  1957     iLog->Log(_L("CVHPPTestClass::PlayduringVoiceCall()"));
  1958 
  1958 
  1959     TInt err = 0;
  1959     TInt err = 0;
  1960 
  1960 
       
  1961     //callback event
       
  1962     TCallbackEvent* event = new TCallbackEvent;
       
  1963     event->iError = 0;
       
  1964     event->iData  = 0;
       
  1965     event->iEvent = EPPaused;
       
  1966     AddExpectedEvent( event );
       
  1967 
  1961     //set phone call as Connected
  1968     //set phone call as Connected
  1962     err = RProperty::Set(KPSUidCtsyCallInformation, KCTsyCallState, EPSCTsyCallStateConnected);
  1969     err = RProperty::Set(KPSUidCtsyCallInformation, KCTsyCallState, EPSCTsyCallStateConnected);
  1963 
  1970 
  1964     AddErrorEvent(KMPXVideoPlayOver2GDuringVoiceCallError);
  1971     AddErrorEvent(KMPXVideoPlayOver2GDuringVoiceCallError);
  1965 
  1972