diff -r 33a5d2bbf6fc -r 73a1feb507fb mmsharing/mmshengine/tsrc/ut_engine/inc/ut_musengremotevideoplayer.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mmsharing/mmshengine/tsrc/ut_engine/inc/ut_musengremotevideoplayer.h Tue Aug 31 15:12:07 2010 +0300 @@ -0,0 +1,88 @@ +/* +* 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 +#include +#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