telephonyserverplugins/simatktsy/tests/inc/ccsatsetupmenufu.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 SetUpMenu
       
    21 */
       
    22 
       
    23 #ifndef CCSATSETUPMENUFU_H
       
    24 #define CCSATSETUPMENUFU_H
       
    25 
       
    26 #include <test/tefunit.h>
       
    27 
       
    28 #include <etelmm.h>
       
    29 #include <etelmmcs.h>
       
    30 
       
    31 #include "ccsatcomponenttestbase.h"
       
    32 
       
    33 class CCSatSetUpMenuFU : 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 TestNotifySetUpMenuPCmd0001L();
       
    43 	void TestNotifySetUpMenuPCmd0002L();
       
    44 	void TestNotifySetUpMenuPCmd0004L();
       
    45 	void TestNotifySetUpMenuPCmd0001bL();
       
    46 	void TestNotifySetUpMenuPCmd0001cL();
       
    47 	void TestNotifySetUpMenuPCmd0001dL();
       
    48 	void TestNotifySetUpMenuPCmd0001eL();
       
    49 	void TestNotifySetUpMenuPCmd0001fL();
       
    50 	void TestNotifySetUpMenuPCmd0001gL();
       
    51 	void TestNotifySetUpMenuPCmd0001hL();
       
    52 	void TestNotifySetUpMenuPCmd0001iL();
       
    53 	void TestNotifySetUpMenuPCmd0001jL();
       
    54 
       
    55 private:
       
    56 
       
    57 	void EndProactiveSimSessionL();	
       
    58 	
       
    59 	void SetUpMenuL(TUint8 aCmdNum, TUint8 aCmdQual, const TDesC8& aAlpha, 
       
    60 	  TUint8 aNumItems = 0, TUint8 aItemIds[] = NULL, TPtrC8 aItemNames[] = NULL, 
       
    61 	  TUint8 aAction[] = NULL,
       
    62       RSat::TIconQualifier aIconQual = RSat::EIconQualifierNotSet, TUint8 aIcon = 0,
       
    63       RSat::TIconQualifier aIconListQual = RSat::EIconQualifierNotSet, TUint8 aIconList[] = NULL,
       
    64 	  TUint8 aAlphaFormating[] = NULL, 
       
    65 	  TUint8 aItemFormating[][RSat::KTextAttributeBufSize] = NULL);
       
    66 	
       
    67 	void SelectMenuItemL(TUint8 aItemId, TBool aRequestHelp = EFalse, TInt aErrorForExpect = KErrNone);
       
    68 	
       
    69 	void CheckMenuAlignmentL(TUint8 aAlign);
       
    70 
       
    71 	void CheckMenuFontL(TUint8 aFontParam);	
       
    72 		
       
    73 	void CheckForeignSetUpMenuL(const TDesC8& aTitle, TPtrC8 aItemNames[], TPtrC8 aItemNames2[]);
       
    74 	
       
    75 	}; // class CCSatSetUpMenuFU
       
    76 
       
    77 #endif // CCSATSETUPMENUFU_H
       
    78