videoplayback/videoplaybackview/tsrc/testcontrolscontroller/src/testcontrolscontroller.cpp
changeset 62 0e1e938beb1a
parent 52 e3cecb93e76a
child 65 a9d57bd8d7b7
equal deleted inserted replaced
59:a76e86df7ccd 62:0e1e938beb1a
    13 *
    13 *
    14 * Description:   tester for methods in Video Playback Controls Controller
    14 * Description:   tester for methods in Video Playback Controls Controller
    15 *
    15 *
    16 */
    16 */
    17 
    17 
    18 // Version : %version:  14 %
    18 // Version : %version:  15 %
    19 
    19 
    20 #include <e32err.h>
    20 #include <e32err.h>
    21 #include <w32std.h>
    21 #include <w32std.h>
    22 #include <qobject>
    22 #include <qobject>
    23 
    23 
   661 
   661 
   662     cleanup();
   662     cleanup();
   663 }
   663 }
   664 
   664 
   665 // -------------------------------------------------------------------------------------------------
   665 // -------------------------------------------------------------------------------------------------
       
   666 // TestControlsController::testHandleEventBackground
       
   667 // -------------------------------------------------------------------------------------------------
       
   668 //
       
   669 void TestControlsController::testHandleEventBackground()
       
   670 {
       
   671     MPX_DEBUG(_L("TestControlsController::testHandleEventBackground()") );
       
   672 
       
   673     init();
       
   674 
       
   675     mController->handleEvent( EControlCmdHandleBackgroundEvent, 0 );
       
   676 
       
   677     QVERIFY( mController->mControls[0]->mControlReset );
       
   678 
       
   679     cleanup();
       
   680 }
       
   681 
       
   682 // -------------------------------------------------------------------------------------------------
   666 // TestControlsController::testHandleCommand
   683 // TestControlsController::testHandleCommand
   667 // -------------------------------------------------------------------------------------------------
   684 // -------------------------------------------------------------------------------------------------
   668 //
   685 //
   669 void TestControlsController::testHandleCommand()
   686 void TestControlsController::testHandleCommand()
   670 {
   687 {