phoneapp/phoneuistates/tsrc/ut_cphonesinglecall/Src/ut_cphonesinglecall.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 #ifndef __UT_CPHONESINGLECALL_H__
       
    19 #define __UT_CPHONESINGLECALL_H__
       
    20 
       
    21 
       
    22 // INCLUDES
       
    23 #include <CEUnitTestSuiteClass.h>
       
    24 #include <EUnitDecorators.h>
       
    25 
       
    26 
       
    27 
       
    28 // FORWARD DECLARATIONS
       
    29 class CSmcMockContext;
       
    30 class CPhoneStateMachineGSM;
       
    31 class CPhoneViewCommandHandleMock;
       
    32 class CPhoneMainResourceResolverMock;
       
    33 class CPEEngineInfo;
       
    34 class MPhoneViewCommandHandle;
       
    35 class TPhoneCommandParam;
       
    36 class CPhoneSingleCall;
       
    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_cphonesinglecall )
       
    46     : public CEUnitTestSuiteClass
       
    47     {
       
    48     public:  // Constructors and destructor
       
    49 
       
    50         static ut_cphonesinglecall* NewL();
       
    51         static ut_cphonesinglecall* NewLC();
       
    52         ~ut_cphonesinglecall();
       
    53 
       
    54     private: // Constructors
       
    55 
       
    56         ut_cphonesinglecall();
       
    57         void ConstructL();
       
    58 
       
    59     private: // New methods
       
    60 
       
    61          void SetupL();
       
    62 
       
    63          void Teardown();
       
    64 
       
    65          void T_HandleConnectedL();
       
    66          
       
    67          void T_ConstructL();
       
    68  
       
    69     private: // Data
       
    70 
       
    71         MPhoneViewCommandHandle* iViewCmdHandleMock;
       
    72 
       
    73         CPhoneStateMachineGSM* iStateMachineMock;
       
    74 
       
    75         CSmcMockContext* iMockContext;
       
    76 
       
    77         CPhoneMainResourceResolverMock* iCPhoneMainResourceResolverMock;
       
    78 
       
    79         CPEEngineInfo* iEngineInfoMock;
       
    80 
       
    81         CPhoneSingleCall * iStateSingleCall;
       
    82         
       
    83         EUNIT_DECLARE_TEST_TABLE;
       
    84 
       
    85     };
       
    86  
       
    87 #endif      //  __UT_CPHONESINGLECALL_H__