installationservices/swcomponentregistry/test/tscr/inc/appmanagersteps.h
branchRCL_3
changeset 25 7333d7932ef7
equal deleted inserted replaced
24:5cc91383ab1e 25:7333d7932ef7
       
     1 /*
       
     2 * Copyright (c) 2008-2010 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 test steps for application manager related interface in the Software Component Registry
       
    16 *
       
    17 */
       
    18 
       
    19 
       
    20 /**
       
    21  @file 
       
    22  @internalComponent
       
    23  @test
       
    24 */
       
    25 
       
    26 #ifndef APPMANAGERSTEPS_H
       
    27 #define APPMANAGERSTEPS_H
       
    28 
       
    29 #include "tscrstep.h"
       
    30 class CScrTestServer;
       
    31 
       
    32 _LIT(KScrIsMediaPresentStep, "SCRIsMediaPresent");
       
    33 _LIT(KScrIsComponentOrphaned, "SCRIsComponentOrphaned");
       
    34 _LIT(KScrCompareVersions, "SCRCompareVersions");
       
    35 _LIT(KScrIsComponentOnReadOnlyDrive, "SCRIsComponentOnReadOnlyDrive");
       
    36 _LIT(KScrComponentPresence, "ScrComponentPresence");
       
    37 _LIT(KScrComponentOnEMMC, "ScrComponentOnEMMC");
       
    38 _LIT(KScrComponentPresentForNameVendor, "ScrComponentPresentForNameVendor");
       
    39 
       
    40 class CScrIsMediaPresentStep : public CScrTestStep
       
    41 /**
       
    42  	TEF test step which exercises the SCR IsMediaPresent interface
       
    43  */
       
    44 	{
       
    45 public:
       
    46 	CScrIsMediaPresentStep(CScrTestServer& aParent);
       
    47 	
       
    48 protected:
       
    49 	// From CScrTestStep
       
    50 	void ImplTestStepPreambleL();
       
    51 	void ImplTestStepL();
       
    52 	void ImplTestStepPostambleL();		
       
    53 	};
       
    54 
       
    55 class CScrIsComponentOrphanedStep : public CScrTestStep
       
    56 /**
       
    57  	TEF test step which exercises the SCR IsComponentOrphanedL interface
       
    58  */
       
    59 	{
       
    60 public:
       
    61 	CScrIsComponentOrphanedStep(CScrTestServer& aParent);
       
    62 	
       
    63 protected:
       
    64 	// From CScrTestStep
       
    65 	void ImplTestStepPreambleL();
       
    66 	void ImplTestStepL();
       
    67 	void ImplTestStepPostambleL();		
       
    68 	};
       
    69 
       
    70 class CScrCompareVersionsStep : public CScrTestStep
       
    71 /**
       
    72  	TEF test step which exercises the SCR CompareVersionsL interface
       
    73  */
       
    74 	{
       
    75 public:
       
    76 	CScrCompareVersionsStep(CScrTestServer& aParent);
       
    77 	
       
    78 protected:
       
    79 	// From CScrTestStep
       
    80 	void ImplTestStepPreambleL();
       
    81 	void ImplTestStepL();
       
    82 	void ImplTestStepPostambleL();		
       
    83 	};
       
    84 
       
    85 class CScrIsComponentOnReadOnlyDriveStep : public CScrTestStep
       
    86 /**
       
    87  	TEF test step which exercises the SCR IsComponentOnReadOnlyDriveL interface
       
    88  */
       
    89 	{
       
    90 public:
       
    91 	CScrIsComponentOnReadOnlyDriveStep(CScrTestServer& aParent);
       
    92 	
       
    93 protected:
       
    94 	// From CScrTestStep
       
    95 	void ImplTestStepPreambleL();
       
    96 	void ImplTestStepL();
       
    97 	void ImplTestStepPostambleL();		
       
    98 	};
       
    99 
       
   100 class CScrComponentPresenceStep : public CScrTestStep
       
   101 /**
       
   102  	TEF test step which exercises the SCR IsComponentPresentL interface
       
   103  */
       
   104 	{
       
   105 public:
       
   106 	CScrComponentPresenceStep(CScrTestServer& aParent);
       
   107 	
       
   108 protected:
       
   109 	// From CScrTestStep
       
   110 	void ImplTestStepPreambleL();
       
   111 	void ImplTestStepL();
       
   112 	void ImplTestStepPostambleL();		
       
   113 	};
       
   114 
       
   115 class CScrEMMCComponentStep : public CScrTestStep
       
   116 /**
       
   117     TEF test step which checks if any components are present on EMMC
       
   118  */
       
   119     {
       
   120 public:
       
   121     CScrEMMCComponentStep(CScrTestServer& aParent);
       
   122     
       
   123 protected:
       
   124     // From CScrTestStep
       
   125     void ImplTestStepPreambleL();
       
   126     void ImplTestStepL();
       
   127     void ImplTestStepPostambleL();      
       
   128     };
       
   129 
       
   130 class CScrComponentPresentForNameVendorStep : public CScrTestStep
       
   131 /**
       
   132     TEF test step which checks if any components are present with the given name and vendor
       
   133  */
       
   134     {
       
   135 public:
       
   136     CScrComponentPresentForNameVendorStep(CScrTestServer& aParent);
       
   137     
       
   138 protected:
       
   139     // From CScrTestStep
       
   140     void ImplTestStepPreambleL();
       
   141     void ImplTestStepL();
       
   142     void ImplTestStepPostambleL();      
       
   143     };
       
   144 #endif /* APPMANAGERSTEPS_H */