appfw/apparchitecture/tef/t_clientnotifstep.h
branchRCL_3
changeset 20 c2c61fdca848
parent 19 924385140d98
child 21 9af619316cbf
equal deleted inserted replaced
19:924385140d98 20:c2c61fdca848
     1 // Copyright (c) 2010 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 //
       
    15 
       
    16 /**
       
    17  @file
       
    18  @internalComponent - Internal Symbian test code 
       
    19 */
       
    20 
       
    21 #if (!defined __T_CLIENTNOTIF_H__)
       
    22 #define __T_CLIENTNOTIF_H__
       
    23 
       
    24 
       
    25 #include <test/testexecutestepbase.h>
       
    26 
       
    27 class RTestableApaLsSession;
       
    28 
       
    29 
       
    30 /*Tests force registration functionality */
       
    31 
       
    32 class CT_ClientNotifStep : public CTestStep 
       
    33     {
       
    34 public:
       
    35     CT_ClientNotifStep();
       
    36     ~CT_ClientNotifStep();
       
    37     virtual TVerdict doTestStepPreambleL();
       
    38     virtual TVerdict doTestStepPostambleL();
       
    39     virtual TVerdict doTestStepL();
       
    40     
       
    41 private:
       
    42     void RunTestCases();
       
    43     void TestClientNotifInitialApplistCreation(RTestableApaLsSession &aLs);
       
    44     void ChangeLocaleL(TLanguage aLanguage);    
       
    45     void TestClientNotifLanguageChange(RTestableApaLsSession &aLs);  
       
    46     
       
    47     void TestClientNotifSingleAppInstallation(RTestableApaLsSession &aLs);
       
    48     void TestClientNotifMultipleAppInstallation(RTestableApaLsSession &aLs);    
       
    49     void TestClientNotifUpgradeApp(RTestableApaLsSession &aLs); 
       
    50     void TestClientNotifMultipleInstallations(RTestableApaLsSession &aLs); 
       
    51     void TestClientNotifWithoutSetNotify(RTestableApaLsSession &aLs); 
       
    52     void TestClientNotifOnPackageUpgrade(RTestableApaLsSession &aLs); 
       
    53     void TestClientNotifOnPackageDowngrade(RTestableApaLsSession &aLs);     
       
    54     
       
    55     };
       
    56 
       
    57 
       
    58 _LIT(KT_ClientNotifStep,"T_ClientNotif");
       
    59 
       
    60 #endif