mmsharing/mmshui/tsrc/ut_ui/inc/ut_musuistartcontroller.h
branchRCL_3
changeset 33 bc78a40cd63c
parent 0 f0cf47e981f9
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 
       
    19 #ifndef __UT_MUSUISTARTCONTROLLER_H__
       
    20 #define __UT_MUSUISTARTCONTROLLER_H__
       
    21 
       
    22 
       
    23 //  EXTERNAL INCLUDES
       
    24 #include <digia/eunit/ceunittestsuiteclass.h>
       
    25 #include <digia/eunit/eunitmacros.h>
       
    26 
       
    27 //  FORWARD DECLARATIONS
       
    28 //class CMusEngLiveSession;
       
    29 //class CMusEngObserverStub;
       
    30 class CMusUiEventObserverAdapter;
       
    31 
       
    32 //  CLASS DEFINITION
       
    33 /**
       
    34  * Tester class for CMusEngSession.
       
    35  * Since CMusEngSession is abstract, it is tested via object of its'
       
    36  * concrete descendant class CMusEngLiveSession. Only concrete
       
    37  * implementations are tested in this tester class.
       
    38  *
       
    39  */
       
    40 NONSHARABLE_CLASS( UT_CMusUiStartController ): public CEUnitTestSuiteClass
       
    41     {
       
    42     public:     // Constructors and destructors
       
    43 
       
    44         /**
       
    45          * Two phase construction
       
    46          */
       
    47         static UT_CMusUiStartController* NewL();
       
    48         static UT_CMusUiStartController* NewLC();
       
    49 
       
    50         /**
       
    51          * Destructor
       
    52          */
       
    53         ~UT_CMusUiStartController();
       
    54 
       
    55     private: // Constructors and destructors
       
    56 
       
    57         UT_CMusUiStartController();
       
    58         void ConstructL();
       
    59 
       
    60     private: // Test case setup and teardown
       
    61 
       
    62         void SetupL();
       
    63 
       
    64         void Teardown();
       
    65 
       
    66     private: // Test methods
       
    67 
       
    68 		void UT_CMusUiStartController_UseCasePropertyLL();
       
    69 		void UT_CMusUiStartController_SetStartViewLL();
       
    70 
       
    71 
       
    72 
       
    73     private:    // Data
       
    74 
       
    75 
       
    76         CMusUiEventObserverAdapter* iEventObserver;
       
    77 
       
    78         /*
       
    79         CMusEngLiveSession* iLiveSession;
       
    80         CMusEngObserverStub* iEventObserver;
       
    81         */
       
    82 
       
    83         EUNIT_DECLARE_TEST_TABLE;
       
    84 
       
    85     };
       
    86 
       
    87 #endif      //  __UT_MUSENGSESSION_H__
       
    88 
       
    89 // End of file