mmsharing/mmshengine/tsrc/ut_engine/inc/ut_musengremotevideoplayer.h
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Tue, 31 Aug 2010 15:12:07 +0300
branchRCL_3
changeset 22 73a1feb507fb
permissions -rw-r--r--
Revision: 201032 Kit: 201035

/*
* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
*
* Initial Contributors:
* Nokia Corporation - initial contribution.
*
* Contributors:
*
* Description:
*
*/

#ifndef UT_MUSENGREMOTEVIDEOPLAYER_H
#define UT_MUSENGREMOTEVIDEOPLAYER_H


// INCLUDES
#include <ceunittestsuiteclass.h>
#include <eunitmacros.h>
#include "musengstubs.h"

// FORWARD DECLARATIONS
class CMceSession;
class CMusEngRemoteVideoPlayer;


//  CLASS DEFINITION
/**
 *
 */
NONSHARABLE_CLASS( UT_CMusEngRemoteVideoPlayer ): public CEUnitTestSuiteClass
    {
    public:     // Constructors and destructors

        /**
         * Two phase construction
         */
        static UT_CMusEngRemoteVideoPlayer* NewL();
        static UT_CMusEngRemoteVideoPlayer* NewLC();
        
        /**
         * Destructor
         */
        ~UT_CMusEngRemoteVideoPlayer();

    private: // Constructors and destructors

        UT_CMusEngRemoteVideoPlayer();
        void ConstructL();
        
    private: // Test case setup and teardown

        void SetupL();
        void Teardown();

    private: // Test methdods
    
        void UT_NewLL();       
        void UT_LcVideoPlayerStateL();
        void UT_LcPlayL(); 
        void UT_LcWindowL();
        void UT_LcCameraControlL();
        void UT_LcSourceFileControlL();
        void UT_LcDestinationFileControlL();
        void UT_LcAudioControlL();
        void UT_LcZoomControlL();
        void UT_LcBrightnessControlL();
        void UT_EnableLcWindowL();
        void UT_LcWindowRectL();
        void UT_LcWindowOrientationL();
        
    private:    // Data

        TLcAudioControlStub iLcAudioControlStub;
        CMceSession* iMceSession;        
        CMusEngRemoteVideoPlayer* iRemoteVideoPlayer;   
        TMusEngDisplayHandlerStub iDisplayHandlerStub;
        EUNIT_DECLARE_TEST_TABLE;
    };

#endif // UT_MUSENGREMOTEVIDEOPLAYER_H

// End of file