mmsharing/mmshengine/tsrc/ut_engine/inc/ut_musengreceivesession.h
changeset 15 ccd8e69b5392
parent 2 b31261fd4e04
child 20 e8be2c2e049d
child 22 496ad160a278
--- a/mmsharing/mmshengine/tsrc/ut_engine/inc/ut_musengreceivesession.h	Tue Feb 02 00:09:07 2010 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,116 +0,0 @@
-/*
-* 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_MUSENGRECEIVESESSION_H__
-#define __UT_MUSENGRECEIVESESSION_H__
-
-
-//  EXTERNAL INCLUDES
-#include <digia/eunit/ceunittestsuiteclass.h>
-#include <digia/eunit/eunitmacros.h>
-
-//  FORWARD DECLARATIONS
-class CMceInSession;
-class CMusEngReceiveSession;
-class CMusEngObserverStub;
-class CMceVideoStream;
-class CMceAudioStream;
-
-#include <e32def.h>
-#ifndef NONSHARABLE_CLASS
-    #define NONSHARABLE_CLASS(x) class x
-#endif
-
-//  CLASS DEFINITION
-/**
- *
- */
-NONSHARABLE_CLASS( UT_CMusEngReceiveSession ): public CEUnitTestSuiteClass
-    {
-    public:     // Constructors and destructors
-
-        /**
-         * Two phase construction
-         */
-        static UT_CMusEngReceiveSession* NewL();
-        static UT_CMusEngReceiveSession* NewLC();
-        
-        /**
-         * Destructor
-         */
-        ~UT_CMusEngReceiveSession();
-
-    private: // Constructors and destructors
-
-        UT_CMusEngReceiveSession();
-        void ConstructL();
-        
-    private: // Test case setup and teardown
-
-        void SetupL();
-
-        void Teardown();
-
-    private: // Test helpers
-    
-        CMceVideoStream* ConstructVideoInStreamLC();
-        CMceVideoStream* ConstructVideoOutStreamLC();
-        CMceAudioStream* ConstructAudioInStreamLC();
-        CMceAudioStream* ConstructAudioOutStreamLC();
-        CMceInSession* ConstructInSessionLC( TInt aVideoStreamCount,
-                                             TInt aAudioStreamCount,
-                                             TBool aConstructSinks = ETrue );
-
-    private: // Test methdods
-    
-        void UT_NewLL();
-        void UT_AcceptInvitationLL();
-        void UT_HandleSessionStateChangedL();
-        void UT_AdjustVideoCodecLL();
-        void UT_AdjustAudioCodecLL();
-        void UT_DoCodecSelectionLL();
-        void UT_IncomingSessionL();
-        void UT_IncomingUpdateL();
-        void UT_StreamStateChangedL();
-        
-        // All the following functions test
-        // CMusEngReceiveSession::CompleteSessionStructureL
-        void UT_CompleteSessionStructureL_WithoutSessionL();
-        void UT_CompleteSessionStructureL_WithoutStreamsL();
-        void UT_CompleteSessionStructureL_WithOutgoingStreamL();
-        void UT_CompleteSessionStructureL_WithVideoInL();
-        void UT_CompleteSessionStructureL_WithVideoOutBoundToVideoInL();
-        void UT_CompleteSessionStructureL_WithVideoInBoundToVideoOutL();
-        void UT_CompleteSessionStructureL_WithMultipleVideoInsL();
-        void UT_CompleteSessionStructureL_WithVideoAndMultipleAudioInsL();
-        void UT_CompleteSessionStructureL_OperatorVariant();
-        
-        void UT_ParseAssertedIdentityL();
-        
-    private:    // Data
-
-        CMusEngReceiveSession* iReceiveSession;
-        CMusEngObserverStub* iObserver;
-
-        EUNIT_DECLARE_TEST_TABLE;
-
-    };
-
-#endif      //  __UT_MUSENGRECEIVESESSION_H__
-
-// End of file