localisation/apparchitecture/tef/T_ServiceRegistryStep.h
branchSymbian3
changeset 57 b8d18c84f71c
parent 6 c108117318cb
equal deleted inserted replaced
56:aa99f2208aad 57:b8d18c84f71c
     1 // Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
     1 // Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
     2 // All rights reserved.
     2 // All rights reserved.
     3 // This component and the accompanying materials are made available
     3 // This component and the accompanying materials are made available
     4 // under the terms of the License "Eclipse Public License v1.0"
     4 // under the terms of "Eclipse Public License v1.0"
     5 // which accompanies this distribution, and is available
     5 // which accompanies this distribution, and is available
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7 //
     7 //
     8 // Initial Contributors:
     8 // Initial Contributors:
     9 // Nokia Corporation - initial contribution.
     9 // Nokia Corporation - initial contribution.
    11 // Contributors:
    11 // Contributors:
    12 //
    12 //
    13 // Description:
    13 // Description:
    14 //
    14 //
    15 
    15 
    16 
       
    17 
       
    18 /**
    16 /**
    19  @file
    17  @file
    20  @test
    18  @test
    21  @internalComponent - Internal Symbian test code
    19  @internalComponent - Internal Symbian test code
    22 */
    20 */
    23 
    21 
    24 #if (!defined __T_SERVICEREGISTRY_STEP_H__)
    22 #if (!defined __T_SERVICEREGISTRY_STEP_H__)
    25 #define __T_SERVICEREGISTRY_STEP_H__
    23 #define __T_SERVICEREGISTRY_STEP_H__
    26 
    24 
    27 #include "appfwk_test_AppUi.h"
    25 #include "appfwk_test_appui.h"
    28 #include <apgnotif.h>
    26 #include <apgnotif.h>
       
    27 #include "appfwk_test_utils.h"
    29 
    28 
    30 class RApaLsSession;
    29 class RApaLsSession;
    31 
    30 
    32 _LIT(KT_ServiceRegistryStep,"T_ServiceRegistry");
    31 _LIT(KT_ServiceRegistryStep,"T_ServiceRegistry");
    33 
    32 
    43 private:
    42 private:
    44 	TInt RunTestCasesL();
    43 	TInt RunTestCasesL();
    45 	void TestAssociation1L();
    44 	void TestAssociation1L();
    46 	void TestAppForDataTypeAndServiceL(RApaLsSession& aLs);
    45 	void TestAppForDataTypeAndServiceL(RApaLsSession& aLs);
    47     void TestUpdateOfServiceRegistryOnAppUninstallationL(RApaLsSession& aLs);   
    46     void TestUpdateOfServiceRegistryOnAppUninstallationL(RApaLsSession& aLs);   
       
    47     void TestServiceRegistryOnAppUpgradeL(RApaLsSession& aLs);
       
    48     TInt DeleteFileL(RSmlTestUtils &aFs, const TDesC &aFileName);
       
    49     void WaitForAppListUpdateL();
    48     CActiveScheduler* iScheduler;    
    50     CActiveScheduler* iScheduler;    
    49     };
    51     };
    50     
    52     
    51 class CTestApplistChangeObserver : public CBase, public MApaAppListServObserver
    53 class CTestApplistChangeObserver : public CBase, public MApaAppListServObserver
    52     {
    54     {
    53 public: // from MApaAppListServObserver
    55 public: // from MApaAppListServObserver
    54     void HandleAppListEvent(TInt aEvent);
    56     void HandleAppListEvent(TInt aEvent);
    55 public:
    57 public:
    56     CApaAppListNotifier* iNotifier;
    58     CApaAppListNotifier* iNotifier;
    57     };
    59     };	
    58 	
       
    59 #endif
    60 #endif
       
    61