localisation/apparchitecture/tef/T_ServiceRegistryStep.h
branchSymbian2
changeset 1 8758140453c0
child 6 c108117318cb
equal deleted inserted replaced
0:e8c1ea2c6496 1:8758140453c0
       
     1 // Copyright (c) 2007-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 the License "Symbian Foundation License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.symbianfoundation.org/legal/sfl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 //
       
    15 
       
    16 
       
    17 
       
    18 /**
       
    19  @file
       
    20  @test
       
    21  @internalComponent - Internal Symbian test code
       
    22 */
       
    23 
       
    24 #if (!defined __T_SERVICEREGISTRY_STEP_H__)
       
    25 #define __T_SERVICEREGISTRY_STEP_H__
       
    26 
       
    27 #include "appfwk_test_AppUi.h"
       
    28 #include <apgnotif.h>
       
    29 
       
    30 class RApaLsSession;
       
    31 
       
    32 _LIT(KT_ServiceRegistryStep,"T_ServiceRegistry");
       
    33 
       
    34 class CT_ServiceRegistryTestStep : public CTestStep
       
    35 	{
       
    36 public:
       
    37 	CT_ServiceRegistryTestStep();
       
    38 	~CT_ServiceRegistryTestStep();
       
    39 	virtual TVerdict doTestStepPreambleL();
       
    40 	virtual TVerdict doTestStepPostambleL();
       
    41 	virtual TVerdict doTestStepL();
       
    42 	
       
    43 private:
       
    44 	TInt RunTestCasesL();
       
    45 	void TestAssociation1L();
       
    46 	void TestAppForDataTypeAndServiceL(RApaLsSession& aLs);
       
    47     void TestUpdateOfServiceRegistryOnAppUninstallationL(RApaLsSession& aLs);   
       
    48     CActiveScheduler* iScheduler;    
       
    49     };
       
    50     
       
    51 class CTestApplistChangeObserver : public CBase, public MApaAppListServObserver
       
    52     {
       
    53 public: // from MApaAppListServObserver
       
    54     void HandleAppListEvent(TInt aEvent);
       
    55 public:
       
    56     CApaAppListNotifier* iNotifier;
       
    57     };
       
    58 	
       
    59 #endif