installationservices/swcomponentregistry/test/tscr/inc/sifsteps.h
branchRCL_3
changeset 25 7333d7932ef7
equal deleted inserted replaced
24:5cc91383ab1e 25:7333d7932ef7
       
     1 /*
       
     2 * Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of the License "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description: 
       
    15 * Defines the basic test step for the Software Component Registry test harness
       
    16 *
       
    17 */
       
    18 
       
    19 
       
    20 /**
       
    21  @file 
       
    22  @internalComponent
       
    23  @test
       
    24 */
       
    25 
       
    26 #ifndef SIFSTEPS_H
       
    27 #define SIFSTEPS_H
       
    28 
       
    29 #include "tscrstep.h"
       
    30 class CScrTestServer;
       
    31 
       
    32 _LIT(KScrGetPluginStep, "SCRGetPlugin");
       
    33 _LIT(KScrSetScomoStateStep, "SCRSetScomoState");
       
    34 
       
    35 class CScrGetPluginStep : public CScrTestStep
       
    36 /**
       
    37  	TEF test step which exercises the SCR GetPluginUidL interfaces
       
    38  */
       
    39 	{
       
    40 public:
       
    41 	CScrGetPluginStep(CScrTestServer& aParent);
       
    42 			
       
    43 protected:
       
    44 	// From CScrTestStep
       
    45 	void ImplTestStepPreambleL();
       
    46 	void ImplTestStepL();
       
    47 	void ImplTestStepPostambleL();
       
    48 
       
    49 private:
       
    50 	TUid GetPluginUidFromConfigL();
       
    51 	TBool GetMimeTypeFromConfigL(TPtrC& aMimeType);
       
    52 	};	
       
    53 
       
    54 class CScrSetScomoStateStep : public CScrTestStep
       
    55 /**
       
    56  	TEF test step which exercises the SCR SetScomoStateL interface
       
    57  */
       
    58 	{
       
    59 public:
       
    60 	CScrSetScomoStateStep(CScrTestServer& aParent);
       
    61 			
       
    62 protected:
       
    63 	// From CScrTestStep
       
    64 	void ImplTestStepPreambleL();
       
    65 	void ImplTestStepL();
       
    66 	void ImplTestStepPostambleL();			
       
    67 	};
       
    68 
       
    69 #endif /* SIFSTEPS_H */