installationservices/swcomponentregistry/test/tscr/inc/appmanagersteps.h
changeset 24 84a16765cd86
child 50 c6e8afe0ba85
equal deleted inserted replaced
6:aba6b8104af3 24:84a16765cd86
       
     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 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 
       
    38 class CScrIsMediaPresentStep : public CScrTestStep
       
    39 /**
       
    40  	TEF test step which exercises the SCR IsMediaPresent interface
       
    41  */
       
    42 	{
       
    43 public:
       
    44 	CScrIsMediaPresentStep(CScrTestServer& aParent);
       
    45 	
       
    46 protected:
       
    47 	// From CScrTestStep
       
    48 	void ImplTestStepPreambleL();
       
    49 	void ImplTestStepL();
       
    50 	void ImplTestStepPostambleL();		
       
    51 	};
       
    52 
       
    53 class CScrIsComponentOrphanedStep : public CScrTestStep
       
    54 /**
       
    55  	TEF test step which exercises the SCR IsComponentOrphanedL interface
       
    56  */
       
    57 	{
       
    58 public:
       
    59 	CScrIsComponentOrphanedStep(CScrTestServer& aParent);
       
    60 	
       
    61 protected:
       
    62 	// From CScrTestStep
       
    63 	void ImplTestStepPreambleL();
       
    64 	void ImplTestStepL();
       
    65 	void ImplTestStepPostambleL();		
       
    66 	};
       
    67 
       
    68 class CScrCompareVersionsStep : public CScrTestStep
       
    69 /**
       
    70  	TEF test step which exercises the SCR CompareVersionsL interface
       
    71  */
       
    72 	{
       
    73 public:
       
    74 	CScrCompareVersionsStep(CScrTestServer& aParent);
       
    75 	
       
    76 protected:
       
    77 	// From CScrTestStep
       
    78 	void ImplTestStepPreambleL();
       
    79 	void ImplTestStepL();
       
    80 	void ImplTestStepPostambleL();		
       
    81 	};
       
    82 
       
    83 class CScrIsComponentOnReadOnlyDriveStep : public CScrTestStep
       
    84 /**
       
    85  	TEF test step which exercises the SCR IsComponentOnReadOnlyDriveL interface
       
    86  */
       
    87 	{
       
    88 public:
       
    89 	CScrIsComponentOnReadOnlyDriveStep(CScrTestServer& aParent);
       
    90 	
       
    91 protected:
       
    92 	// From CScrTestStep
       
    93 	void ImplTestStepPreambleL();
       
    94 	void ImplTestStepL();
       
    95 	void ImplTestStepPostambleL();		
       
    96 	};
       
    97 
       
    98 class CScrComponentPresenceStep : public CScrTestStep
       
    99 /**
       
   100  	TEF test step which exercises the SCR IsComponentPresentL interface
       
   101  */
       
   102 	{
       
   103 public:
       
   104 	CScrComponentPresenceStep(CScrTestServer& aParent);
       
   105 	
       
   106 protected:
       
   107 	// From CScrTestStep
       
   108 	void ImplTestStepPreambleL();
       
   109 	void ImplTestStepL();
       
   110 	void ImplTestStepPostambleL();		
       
   111 	};
       
   112 
       
   113 #endif /* APPMANAGERSTEPS_H */