telephonyserverplugins/simatktsy/tests/inc/ccsatsenddtmffu.h
changeset 0 3553901f7fa8
child 24 6638e7f4bd8f
equal deleted inserted replaced
-1:000000000000 0:3553901f7fa8
       
     1 // Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 // functional unit of the SAT.
       
    15 //
       
    16 
       
    17 
       
    18 
       
    19 /**
       
    20  @file The TEFUnit header file which tests the SendDTMF
       
    21 */
       
    22 
       
    23 #ifndef CCSATSENDDTMFFU_H
       
    24 #define CCSATSENDDTMFFU_H
       
    25 
       
    26 #include <test/tefunit.h>
       
    27 
       
    28 #include <etelmm.h>
       
    29 #include <etelmmcs.h>
       
    30 
       
    31 #include "ccsatcomponenttestbase.h"
       
    32 
       
    33 class CCSatSendDTMFFU : public CCSatComponentTestBase
       
    34 	{
       
    35 public:
       
    36 	// Create a suite of all the tests
       
    37 	static CTestSuite* CreateSuiteL(const TDesC& aName);
       
    38 
       
    39 public:
       
    40 	// Individual test steps
       
    41 
       
    42 	void TestNotifySendDtmfPCmd0001L();
       
    43 	void TestNotifySendDtmfPCmd0001bL();
       
    44 	void TestNotifySendDtmfPCmd0002L();
       
    45 	void TestNotifySendDtmfPCmd0004L();
       
    46 
       
    47 private:
       
    48 	
       
    49 	void PrepareSendDtmfCompleteDataL(
       
    50 			TUint8 aPCmdNumber,
       
    51 			TUint8 aCmdQual,
       
    52 			const TDesC8* aDtmf = NULL,
       
    53 			const TDesC8* aAlpha = NULL,
       
    54 			RSat::TIconQualifier aIconQual = RSat::EIconQualifierNotSet,
       
    55 			TInt aResult = KErrNone,
       
    56 			TInt aDelay = KDefaultNoDelay,
       
    57 			TUint8 aDestDeviceId = KNetwork);
       
    58 
       
    59 	void TestNotifySendDtmfPCmdL(
       
    60 			TUint8 aPCmdNumber,
       
    61 			TUint8 aCmdQual,
       
    62 			const TDesC8* aDtmf = NULL,
       
    63 			const TDesC8* aAlpha = NULL,
       
    64 			RSat::TIconQualifier aIconQual = RSat::EIconQualifierNotSet,
       
    65 			TInt aResult = KErrNone,
       
    66 			const TDesC16* aAlphaIdCheck = NULL);
       
    67 	
       
    68 	void GenerateSendDtmfTerminalResponseL(
       
    69 			const RSat::TSendDtmfRspV1& aResp,
       
    70 			TUint8 aCmdQual,
       
    71 			TInt aExpResult = KErrNone);
       
    72 
       
    73 	}; // class CCSatSendDTMFFU
       
    74 
       
    75 #endif // CCSATSENDDTMFFU_H
       
    76