mmsharing/mmshengine/tsrc/ut_engine/inc/ut_musengclipvideoplayer.h
branchRCL_3
changeset 33 bc78a40cd63c
parent 32 73a1feb507fb
child 35 6c57ef9392d2
equal deleted inserted replaced
32:73a1feb507fb 33:bc78a40cd63c
     1 /*
       
     2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef UT_MUSENGCLIPVIDEOPLAYER_H
       
    19 #define UT_MUSENGCLIPVIDEOPLAYER_H
       
    20 
       
    21 
       
    22 // INCLUDES
       
    23 #include <ceunittestsuiteclass.h>
       
    24 #include <eunitmacros.h>
       
    25 #include "musengstubs.h"
       
    26 
       
    27 //  FORWARD DECLARATIONS
       
    28 class CMceSession;
       
    29 class CMusEngClipVideoPlayer;
       
    30 
       
    31 
       
    32 //  CLASS DEFINITION
       
    33 /**
       
    34  *
       
    35  */
       
    36 NONSHARABLE_CLASS( UT_CMusEngClipVideoPlayer ): public CEUnitTestSuiteClass
       
    37     {
       
    38     public:     // Constructors and destructors
       
    39 
       
    40         /**
       
    41          * Two phase construction
       
    42          */
       
    43         static UT_CMusEngClipVideoPlayer* NewL();
       
    44         static UT_CMusEngClipVideoPlayer* NewLC();
       
    45         
       
    46         /**
       
    47          * Destructor
       
    48          */
       
    49         ~UT_CMusEngClipVideoPlayer();
       
    50 
       
    51     private: // Constructors and destructors
       
    52 
       
    53         UT_CMusEngClipVideoPlayer();
       
    54         void ConstructL();
       
    55         
       
    56     private: // Test case setup and teardown
       
    57 
       
    58         void SetupL();
       
    59         void Teardown();
       
    60 
       
    61     private: // Test methdods
       
    62     
       
    63         void UT_HasClipEndedL();
       
    64         void UT_LcVideoPlayerStateL();
       
    65         void UT_LcPlayL(); 
       
    66         void UT_LcPauseL(); 
       
    67         void UT_LcIsPlayingL();
       
    68         void UT_SetLcFileNameL();
       
    69         void UT_LcFastForwardL();
       
    70         void UT_LcFastRewindL();
       
    71         void UT_LcFilePositionL();
       
    72         void UT_LcFileDurationL();
       
    73         void UT_SetLcFilePositionL();     
       
    74         void UT_LcWindowL();
       
    75         void UT_LcCameraControlL();
       
    76         void UT_LcSourceFileControlL();
       
    77         void UT_LcDestinationFileControlL();
       
    78         void UT_LcAudioControlL();
       
    79         void UT_LcZoomControlL();
       
    80         void UT_LcBrightnessControlL();
       
    81         
       
    82     private:    // Data
       
    83 
       
    84         TLcAudioControlStub       iLcAudioControlStub;
       
    85         CMceSession*              iMceSession;
       
    86         CMusEngClipVideoPlayer*   iClipVideoPlayer;
       
    87         TMusEngDisplayHandlerStub iDisplayHandlerStub;
       
    88         EUNIT_DECLARE_TEST_TABLE;
       
    89     };
       
    90 
       
    91 #endif // UT_MUSENGCLIPVIDEOPLAYER_H
       
    92 
       
    93 // End of file