installationservices/swi/test/tsisregistrytest/writablesessionstep.h
changeset 0 ba25891c3a9e
equal deleted inserted replaced
-1:000000000000 0:ba25891c3a9e
       
     1 /*
       
     2 * Copyright (c) 2004-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 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 
       
    21 /**
       
    22  @file
       
    23 */
       
    24 #ifndef __WRITABLESESSIONSTEP_H__
       
    25 #define __WRITABLESESSIONSTEP_H__
       
    26 
       
    27 #include "tsisregistryteststep.h"
       
    28 #include "sisregistrywritablesession.h"
       
    29 #include "sisregistrywritableentry.h"
       
    30 
       
    31 using namespace Swi;
       
    32 
       
    33 class CSisRegistryWritableSessionStep : public CSisRegistryTestStepBase
       
    34 	{
       
    35 public:
       
    36 	virtual TVerdict doTestStepPreambleL();
       
    37 	virtual TVerdict doTestStepPostambleL();
       
    38 protected:
       
    39 	Swi::RSisRegistryWritableSession iSisRegistry;
       
    40 	};
       
    41 
       
    42 class CWritableEntryMethodsStep : public CSisRegistryWritableSessionStep 
       
    43 	{
       
    44 public:
       
    45 	CWritableEntryMethodsStep();
       
    46 	void PrintWritableEntryContents(Swi::RSisRegistryWritableEntry &aEntry);
       
    47 	virtual TVerdict doTestStepL();
       
    48 	};	
       
    49 
       
    50 class CPoliceSidsStep : public CSisRegistryWritableSessionStep 
       
    51 	{
       
    52 public:
       
    53 	CPoliceSidsStep();
       
    54 	virtual TVerdict doTestStepL();
       
    55 	};	
       
    56 			
       
    57 class CEntryDeleteStep : public CSisRegistryWritableSessionStep 
       
    58 	{
       
    59 public:
       
    60 	CEntryDeleteStep();
       
    61 	virtual TVerdict doTestStepL();
       
    62 	};
       
    63 
       
    64 class CAddEntryStep : public CSisRegistryWritableSessionStep 
       
    65 	{
       
    66 public:
       
    67 	CAddEntryStep();
       
    68 	virtual TVerdict doTestStepL();
       
    69 	};
       
    70 
       
    71 class CUpdateEntryStep : public CSisRegistryWritableSessionStep 
       
    72 	{
       
    73 public:
       
    74 	CUpdateEntryStep();
       
    75 	virtual TVerdict doTestStepL();
       
    76 	};
       
    77 
       
    78 class CSingleEntryDeleteStep : public CSisRegistryWritableSessionStep 
       
    79 	{
       
    80 public:
       
    81 	CSingleEntryDeleteStep();
       
    82 	virtual TVerdict doTestStepL();
       
    83 	};
       
    84 
       
    85 class CPackageExistsInRomStep : public CSisRegistryWritableSessionStep 
       
    86 	{
       
    87 public:
       
    88 	CPackageExistsInRomStep();
       
    89 	virtual TVerdict doTestStepL();
       
    90 	};
       
    91 
       
    92 #endif