backupandrestore/backuptest/burtestserver/TestSteps/inc/t_teststeprestore.h
changeset 0 d0791faffa3f
equal deleted inserted replaced
-1:000000000000 0:d0791faffa3f
       
     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 "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  @file
       
    22  @released
       
    23 */
       
    24 
       
    25 #ifndef __T_BUR_TEST_STEP_RESTORE_H__
       
    26 #define __T_BUR_TEST_STEP_RESTORE_H__
       
    27 
       
    28 #include "t_burteststepbase.h"
       
    29 
       
    30 _LIT(KBURTestRestore, "TestRestore");
       
    31 
       
    32 namespace bur_ts
       
    33 	{
       
    34 
       
    35 	class CBURTestStepRestore : public CBURTestStepBase
       
    36 		/**
       
    37 		Implements the restore operation.
       
    38 		
       
    39 		@released
       
    40 		@internalComponent
       
    41 		*/
       
    42 		{
       
    43 	public:
       
    44 		static CBURTestStepRestore* NewL(CBURTestServer& aTestServer);
       
    45 		~CBURTestStepRestore();
       
    46 		
       
    47 		// Inherited from CTestStep
       
    48 		virtual TVerdict doTestStepPreambleL();
       
    49 		virtual TVerdict doTestStepPostambleL();
       
    50 		virtual TVerdict doTestStepL();
       
    51 		
       
    52 	private:
       
    53 		CBURTestStepRestore(CBURTestServer& aTestServer);
       
    54 		void ConstructL();
       
    55 		
       
    56 		void BaseRestoreL();
       
    57 		void IncrementalRestoreL();
       
    58 		
       
    59 		// Registration data restore handler
       
    60 		void SupplyRegistrationDataL();
       
    61 		
       
    62 		// Passive restore handlers
       
    63 		void SupplyPassiveSnapshotDataL();
       
    64 		void RestorePassiveBaseDataL();
       
    65 		void RestorePassiveIncDataL();
       
    66 		
       
    67 		// Active restore handlers
       
    68 		void SupplyActiveSnapshotDataL();
       
    69 		void RestoreActiveBaseDataL();
       
    70 		void RestoreActiveIncDataL();
       
    71 		
       
    72 		// Restore packages
       
    73 		void SupplySystemSnapshotDataL();
       
    74 		void RestoreSystemBaseDataL();
       
    75 		
       
    76 		// java
       
    77 		void RestoreJavaMidletL();
       
    78 		void RestoreJavaMidletDataL();
       
    79 		
       
    80 		// Verify restore result is correct
       
    81 		void VerifyRestoreResultL();
       
    82 		};
       
    83 	}
       
    84 
       
    85 #endif // __T_BUR_TEST_STEP_RESTORE_H__
       
    86