appfw/apparchitecture/tef/t_updateapplist.h
branchRCL_3
changeset 63 c2c61fdca848
parent 62 924385140d98
child 64 75184094ace1
child 66 9af619316cbf
equal deleted inserted replaced
62:924385140d98 63:c2c61fdca848
     1 // Copyright (c) 2005-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 #ifndef     __T_UPDATEAPPLIST_H
       
    22 #define     __T_UPDATEAPPLIST_H
       
    23 
       
    24 #include "appfwk_test_appui.h"
       
    25 #include "testableapalssession.h"
       
    26 #include <apgnotif.h>
       
    27 
       
    28 _LIT(KT_TestUpdateAppListStep, "T_UpdateAppList");
       
    29 
       
    30 //! CTestUpdateAppListStep
       
    31 /*! 
       
    32   This class is used to test UpdateAppList api in RApaLsSession
       
    33 */
       
    34 class CT_TestUpdateAppListStep : public CTestStep
       
    35     {
       
    36 public:
       
    37     CT_TestUpdateAppListStep();
       
    38     ~CT_TestUpdateAppListStep();
       
    39     void TestUpdateAppListWithInvalidArgumentsL(); 
       
    40     void TestAppInstallAndUninstallationL();
       
    41     void TestAppUpgradeL();    
       
    42     void TestMultipleAppInstallAndUninstallationL();
       
    43     void TestPackageUpgradeL();
       
    44     void TestInstallInvalidAppL();
       
    45     virtual TVerdict doTestStepL();
       
    46 private:
       
    47     RTestableApaLsSession iApaLsSession;
       
    48     CActiveScheduler* iScheduler;    
       
    49     };
       
    50 
       
    51 #endif