phoneapp/phoneuicontrol/tsrc/ut_cphonestatestartup/src/ut_cphonestatestartup.h
changeset 77 2be0b271d017
equal deleted inserted replaced
72:c76a0b1755b9 77:2be0b271d017
       
     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_CPHONESTATESTARTUP_H
       
    20 #define __UT_CPHONESTATESTARTUP_H
       
    21 
       
    22 // INCLUDES
       
    23 #include <CEUnitTestSuiteClass.h>
       
    24 #include <EUnitDecorators.h>
       
    25 
       
    26 
       
    27 // FORWARD DECLARATIONS
       
    28 class CSmcMockContext;
       
    29 class CPhoneStateStartup;
       
    30 class CPhoneStateMachineGSM;
       
    31 class CPhoneViewCommandHandleMock;
       
    32 class CPhoneMainResourceResolverMock;
       
    33 class CPEEngineInfo;
       
    34 class MPhoneViewCommandHandle;
       
    35 class TPhoneCommandParam;
       
    36 
       
    37 // CLASS DEFINITION
       
    38 /**
       
    39  * Generated EUnit test suite class.
       
    40  */
       
    41 
       
    42 
       
    43 TBool operator==(const TPhoneCommandParam& param1, const TPhoneCommandParam& param2 ); 
       
    44 
       
    45 NONSHARABLE_CLASS( ut_cphonestatestartup )
       
    46 	: public CEUnitTestSuiteClass
       
    47     {
       
    48     public:  // Constructors and destructor
       
    49 
       
    50         static ut_cphonestatestartup* NewL();
       
    51         static ut_cphonestatestartup* NewLC();
       
    52         ~ut_cphonestatestartup();
       
    53 
       
    54     private: // Constructors
       
    55 
       
    56         ut_cphonestatestartup();
       
    57         void ConstructL();
       
    58 
       
    59     private: // New methods
       
    60 
       
    61          void SetupL();
       
    62          void Teardown();
       
    63          void T_HandleDtmfKeyToneL ();
       
    64          
       
    65     private: // Data
       
    66     
       
    67          CPhoneViewCommandHandleMock* iViewCmdHandleMock;
       
    68         CPhoneStateMachineGSM* iStateMachineMock;
       
    69         CPhoneStateStartup* iStateStartup;
       
    70         CSmcMockContext* iMockContext;
       
    71         CPhoneMainResourceResolverMock* iCPhoneMainResourceResolverMock;
       
    72         CPEEngineInfo* iEngineInfoMock;
       
    73         
       
    74         EUNIT_DECLARE_TEST_TABLE;
       
    75 
       
    76     };
       
    77 
       
    78 #endif      //  __UT_CPHONESTATESTARTUP_H