|
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 * T_TestStepRestore.h |
|
16 * |
|
17 * |
|
18 */ |
|
19 |
|
20 |
|
21 |
|
22 /** |
|
23 @file |
|
24 @released |
|
25 */ |
|
26 |
|
27 #ifndef T_TESTSTEPRESTOREASYNC_H |
|
28 #define T_TESTSTEPRESTOREASYNC_H |
|
29 |
|
30 #include "t_burteststepbase.h" |
|
31 |
|
32 _LIT(KBURTestRestoreAsync, "TestRestoreAsync"); |
|
33 |
|
34 namespace bur_ts |
|
35 { |
|
36 |
|
37 class CBURTestStepRestoreAsync : public CBURTestStepBase |
|
38 /** |
|
39 Implements the restore operation. |
|
40 |
|
41 @released |
|
42 @internalComponent |
|
43 */ |
|
44 { |
|
45 public: |
|
46 static CBURTestStepRestoreAsync* NewL(CBURTestServer& aTestServer); |
|
47 ~CBURTestStepRestoreAsync(); |
|
48 |
|
49 // Inherited from CTestStep |
|
50 virtual TVerdict doTestStepPreambleL(); |
|
51 virtual TVerdict doTestStepPostambleL(); |
|
52 virtual TVerdict doTestStepL(); |
|
53 |
|
54 private: |
|
55 CBURTestStepRestoreAsync(CBURTestServer& aTestServer); |
|
56 void ConstructL(); |
|
57 |
|
58 void BaseRestoreL(); |
|
59 void IncrementalRestoreL(); |
|
60 |
|
61 // Registration data restore handler |
|
62 void SupplyRegistrationDataL(); |
|
63 |
|
64 // Passive restore handlers |
|
65 void SupplyPassiveSnapshotDataL(); |
|
66 void RestorePassiveBaseDataL(); |
|
67 void RestorePassiveIncDataL(); |
|
68 |
|
69 // Active restore handlers |
|
70 void SupplyActiveSnapshotDataL(); |
|
71 void RestoreActiveBaseDataL(); |
|
72 void RestoreActiveIncDataL(); |
|
73 |
|
74 // Restore packages |
|
75 void SupplySystemSnapshotDataL(); |
|
76 void RestoreSystemBaseDataL(); |
|
77 |
|
78 // java |
|
79 void RestoreJavaMidletL(); |
|
80 void RestoreJavaMidletDataL(); |
|
81 }; |
|
82 } |
|
83 |
|
84 #endif // T_TESTSTEPRESTOREASYNC_H |
|
85 |