mmshplugins/mmcctranscoder/tsrc/ut_transcoder/inc/ut_mcctranscodersessioninfo.h
changeset 15 ccd8e69b5392
parent 2 b31261fd4e04
child 20 e8be2c2e049d
child 22 496ad160a278
equal deleted inserted replaced
2:b31261fd4e04 15:ccd8e69b5392
     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 
       
    19 #ifndef __UT_CMCCTRANSCODERSESSIONINFO_H__
       
    20 #define __UT_CMCCTRANSCODERSESSIONINFO_H__
       
    21 
       
    22 
       
    23 //  EXTERNAL INCLUDES
       
    24 #include <digia/eunit/ceunittestsuiteclass.h>
       
    25 #include <digia/eunit/eunitmacros.h>
       
    26 #include <mmccevents.h>
       
    27 #include <mmcctranscoder.h>
       
    28 
       
    29 // Forward declaration
       
    30 class CMccTranscoderSessionInfo;
       
    31 class CVedMovie;
       
    32 
       
    33 
       
    34 // Next row is to disable warning emerging from EUnit code.
       
    35 // Placement is due to a fact that most test case files
       
    36 // include this file. Directive can be removed when 
       
    37 // EUnit is fixed.  
       
    38 #pragma warn_illtokenpasting off
       
    39 
       
    40 //  CLASS DEFINITION
       
    41 /**
       
    42  * Tester class for CMusCallMonitorBase. 
       
    43  * 
       
    44  */
       
    45 
       
    46 NONSHARABLE_CLASS( UT_CMccTranscoderSessionInfo ): public CEUnitTestSuiteClass
       
    47     {
       
    48     public:
       
    49         //Two phase construction
       
    50         static UT_CMccTranscoderSessionInfo* NewL();
       
    51         static UT_CMccTranscoderSessionInfo* NewLC();
       
    52         // Destructor                  
       
    53         ~UT_CMccTranscoderSessionInfo();
       
    54 
       
    55     private: // Constructor
       
    56         UT_CMccTranscoderSessionInfo();
       
    57         void ConstructL();
       
    58 
       
    59     private: // Test case setup and teardown
       
    60         void SetupL();
       
    61         void Teardown();
       
    62 
       
    63     private: // Test methdods
       
    64 
       
    65         
       
    66         void UT_CMccTranscoderSessionInfo_SetQualityL();
       
    67         void UT_CMccTranscoderSessionInfo_CreateMovieLL();
       
    68         void UT_CMccTranscoderSessionInfo_SetDesFileLL();
       
    69         void UT_CMccTranscoderSessionInfo_SetVideoCodecL();
       
    70         void UT_CMccTranscoderSessionInfo_SetAudioCodecL();
       
    71         void UT_CMccTranscoderSessionInfo_SetVideoTypeL();
       
    72         void UT_CMccTranscoderSessionInfo_SetAudioTypeL(); 
       
    73         void UT_CMccTranscoderSessionInfo_CheckVideoCodecLL();
       
    74         void UT_CMccTranscoderSessionInfo_CheckAudioCodecLL();
       
    75         void UT_CMccTranscoderSessionInfo_GetPutputParametersL();
       
    76         void UT_CMccTranscoderSessionInfo_ProgressedL();
       
    77         void UT_CMccTranscoderSessionInfo_ClipAddedL();
       
    78         void UT_CMccTranscoderSessionInfo_QualityChangeNeededL();
       
    79     
       
    80     private:    // Data        
       
    81         CMccTranscoderSessionInfo* iSession;
       
    82 
       
    83         CVedMovie* iMovie;
       
    84         
       
    85         EUNIT_DECLARE_TEST_TABLE;
       
    86 
       
    87     };
       
    88 
       
    89 #endif      //  __UT_CMCCTRANSCODERSESSIONINFO_H__
       
    90 
       
    91 // End of file