29
|
1 |
// Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
|
|
2 |
// All rights reserved.
|
|
3 |
// This component and the accompanying materials are made available
|
|
4 |
// under the terms of "Eclipse Public License v1.0"
|
|
5 |
// which accompanies this distribution, and is available
|
|
6 |
// at the URL "http://www.eclipse.org/legal/epl-v10.html".
|
|
7 |
//
|
|
8 |
// Initial Contributors:
|
|
9 |
// Nokia Corporation - initial contribution.
|
|
10 |
//
|
|
11 |
// Contributors:
|
|
12 |
//
|
|
13 |
// Description:
|
|
14 |
//
|
|
15 |
|
|
16 |
|
|
17 |
//////////////////////////////////////////////////////////////////////////////////////
|
|
18 |
//
|
|
19 |
// test_activebackup.script
|
|
20 |
//
|
|
21 |
////////////////////////////////////////////////////////////////////////////////////
|
|
22 |
LOAD_SUITE BURTestServer
|
|
23 |
|
|
24 |
PRINT ----------------------------------------------
|
|
25 |
PRINT Test Active Backup
|
|
26 |
PRINT ----------------------------------------------
|
|
27 |
RUN_UTILS DeleteDirectory C:\BackupArchive\
|
|
28 |
START_TESTCASE MTP-SBE-ACTIVEBACKUP-0010
|
|
29 |
//! @SYMTestCaseID MTP-SBE-ACTIVEBACKUP-0010
|
|
30 |
//! @SYMTestCaseDesc Do BaseOnly active-backup for three data owners
|
|
31 |
//! @SYMPREQ 2492
|
|
32 |
//! @SYMTestStatus Released
|
|
33 |
//! @SYMTestPriority normal
|
|
34 |
//! @SYMTestActions Do BaseOnly active-backup for three data owners
|
|
35 |
//! @SYMTestExpectedResults Backup succeeds
|
|
36 |
//! @SYMTestType CIT
|
|
37 |
RUN_TEST_STEP 100 BURTestServer TestBackup z:\testdata\scripts\sbetestdata\test.ini ACTIVE_BACKUP_0010
|
|
38 |
END_TESTCASE MTP-SBE-ACTIVEBACKUP-0010
|
|
39 |
|
|
40 |
START_TESTCASE MTP-SBE-ACTIVEBACKUP-0020
|
|
41 |
//! @SYMTestCaseID MTP-SBE-ACTIVEBACKUP-0020
|
|
42 |
//! @SYMTestCaseDesc Do Proxy active-backup for specified data owner
|
|
43 |
//! @SYMPREQ 2492
|
|
44 |
//! @SYMTestStatus Released
|
|
45 |
//! @SYMTestPriority normal
|
|
46 |
//! @SYMTestActions Do Proxy active-backup for specified data owner
|
|
47 |
//! @SYMTestExpectedResults Backup succeeds
|
|
48 |
//! @SYMTestType CIT
|
|
49 |
RUN_TEST_STEP 100 BURTestServer TestBackup z:\testdata\scripts\sbetestdata\test.ini ACTIVE_BACKUP_0020
|
|
50 |
END_TESTCASE MTP-SBE-ACTIVEBACKUP-0020
|
|
51 |
|
|
52 |
START_TESTCASE MTP-SBE-ACTIVEBACKUP-0030
|
|
53 |
//! @SYMTestCaseID MTP-SBE-ACTIVEBACKUP-0030
|
|
54 |
//! @SYMTestCaseDesc Do Incremental active-backup for specified data owner
|
|
55 |
//! @SYMPREQ 2492
|
|
56 |
//! @SYMTestStatus Released
|
|
57 |
//! @SYMTestPriority normal
|
|
58 |
//! @SYMTestActions Do Incremental active-backup for specified data owner
|
|
59 |
//! @SYMTestExpectedResults Backup succeeds
|
|
60 |
//! @SYMTestType CIT
|
|
61 |
RUN_TEST_STEP 100 BURTestServer TestBackup z:\testdata\scripts\sbetestdata\test.ini ACTIVE_BACKUP_0030
|
|
62 |
END_TESTCASE MTP-SBE-ACTIVEBACKUP-0030
|
|
63 |
|
|
64 |
START_TESTCASE MTP-SBE-ACTIVEBACKUP-0040
|
|
65 |
//! @SYMTestCaseID MTP-SBE-ACTIVEBACKUP-0040
|
|
66 |
//! @SYMTestCaseDesc Do active-backup for a data owner whose executable file is missing
|
|
67 |
//! @SYMPREQ 2492
|
|
68 |
//! @SYMTestStatus Released
|
|
69 |
//! @SYMTestPriority normal
|
|
70 |
//! @SYMTestActions Do active-backup for a data owner whose executable file is missing
|
|
71 |
//! @SYMTestExpectedResults Backup fails with error code 5
|
|
72 |
//! @SYMTestType CIT
|
|
73 |
RUN_TEST_STEP 100 BURTestServer TestBackup z:\testdata\scripts\sbetestdata\test.ini ACTIVE_BACKUP_0040
|
|
74 |
END_TESTCASE MTP-SBE-ACTIVEBACKUP-0040
|
|
75 |
|
|
76 |
PRINT ----------------------------------------------
|
|
77 |
PRINT Test Active Restore
|
|
78 |
PRINT ----------------------------------------------
|
|
79 |
|
|
80 |
START_TESTCASE MTP-SBE-ACTIVERESTORE-0010
|
|
81 |
//! @SYMTestCaseID MTP-SBE-ACTIVERESTORE-0010
|
|
82 |
//! @SYMTestCaseDesc Do BaseOnly active-restore for three data owners
|
|
83 |
//! @SYMPREQ 2492
|
|
84 |
//! @SYMTestStatus Released
|
|
85 |
//! @SYMTestPriority normal
|
|
86 |
//! @SYMTestActions Do BaseOnly active-restore for three data owners
|
|
87 |
//! @SYMTestExpectedResults Restore succeeds
|
|
88 |
//! @SYMTestType CIT
|
|
89 |
RUN_TEST_STEP 100 BURTestServer TestRestore z:\testdata\scripts\sbetestdata\test.ini ACTIVE_RESTORE_0010
|
|
90 |
END_TESTCASE MTP-SBE-ACTIVERESTORE-0010
|
|
91 |
|
|
92 |
START_TESTCASE MTP-SBE-ACTIVERESTORE-0020
|
|
93 |
//! @SYMTestCaseID MTP-SBE-ACTIVERESTORE-0020
|
|
94 |
//! @SYMTestCaseDesc Do Proxy active-restore for specified data owner
|
|
95 |
//! @SYMPREQ 2492
|
|
96 |
//! @SYMTestStatus Released
|
|
97 |
//! @SYMTestPriority normal
|
|
98 |
//! @SYMTestActions Do Proxy active-restore for specified data owner
|
|
99 |
//! @SYMTestExpectedResults Restore succeeds
|
|
100 |
//! @SYMTestType CIT
|
|
101 |
RUN_TEST_STEP 100 BURTestServer TestRestore z:\testdata\scripts\sbetestdata\test.ini ACTIVE_RESTORE_0020
|
|
102 |
END_TESTCASE MTP-SBE-ACTIVERESTORE-0020
|
|
103 |
|
|
104 |
START_TESTCASE MTP-SBE-ACTIVERESTORE-0030
|
|
105 |
//! @SYMTestCaseID MTP-SBE-ACTIVERESTORE-0030
|
|
106 |
//! @SYMTestCaseDesc Do Incremental active-restore for specified data owner
|
|
107 |
//! @SYMPREQ 2492
|
|
108 |
//! @SYMTestStatus Released
|
|
109 |
//! @SYMTestPriority normal
|
|
110 |
//! @SYMTestActions Do Incremental active-restore for specified data owner
|
|
111 |
//! @SYMTestExpectedResults Restore succeeds
|
|
112 |
//! @SYMTestType CIT
|
|
113 |
RUN_TEST_STEP 100 BURTestServer TestRestore z:\testdata\scripts\sbetestdata\test.ini ACTIVE_RESTORE_0030
|
|
114 |
END_TESTCASE MTP-SBE-ACTIVERESTORE-0030
|
|
115 |
|
|
116 |
START_TESTCASE MTP-SBE-ACTIVERESTORE-0040
|
|
117 |
//! @SYMTestCaseID MTP-SBE-ACTIVERESTORE-0040
|
|
118 |
//! @SYMTestCaseDesc Do active-restore for a data owner whose executable file is missing
|
|
119 |
//! @SYMPREQ 2492
|
|
120 |
//! @SYMTestStatus Released
|
|
121 |
//! @SYMTestPriority normal
|
|
122 |
//! @SYMTestActions Do active-restore for a data owner whose executable file is missing
|
|
123 |
//! @SYMTestExpectedResults Restore fails with error code 5
|
|
124 |
//! @SYMTestType CIT
|
|
125 |
RUN_TEST_STEP 100 BURTestServer TestRestore z:\testdata\scripts\sbetestdata\test.ini ACTIVE_RESTORE_0040
|
|
126 |
END_TESTCASE MTP-SBE-ACTIVERESTORE-0040
|
|
127 |
|
|
128 |
PRINT ----------------------------------------------
|
|
129 |
PRINT Test Active Backup Async
|
|
130 |
PRINT ----------------------------------------------
|
|
131 |
RUN_UTILS DeleteDirectory C:\BackupArchive\
|
|
132 |
START_TESTCASE MTP-SBE-ACTIVEBACKUP-ASYNC-0010
|
|
133 |
//! @SYMTestCaseID MTP-SBE-ACTIVEBACKUP-ASYNC-0010
|
|
134 |
//! @SYMTestCaseDesc Do BaseOnly active-backup for three data owners asynchronously
|
|
135 |
//! @SYMPREQ 2492
|
|
136 |
//! @SYMTestStatus Released
|
|
137 |
//! @SYMTestPriority normal
|
|
138 |
//! @SYMTestActions Do BaseOnly active-backup for three data owners asynchronously
|
|
139 |
//! @SYMTestExpectedResults Backup succeeds
|
|
140 |
//! @SYMTestType CIT
|
|
141 |
RUN_TEST_STEP 100 BURTestServer TestBackupAsync z:\testdata\scripts\sbetestdata\test.ini ACTIVE_BACKUP_0010
|
|
142 |
END_TESTCASE MTP-SBE-ACTIVEBACKUP-ASYNC-0010
|
|
143 |
|
|
144 |
START_TESTCASE MTP-SBE-ACTIVEBACKUP-ASYNC-0020
|
|
145 |
//! @SYMTestCaseID MTP-SBE-ACTIVEBACKUP-ASYNC-0020
|
|
146 |
//! @SYMTestCaseDesc Do Proxy active-backup for specified data owner asynchronously
|
|
147 |
//! @SYMPREQ 2492
|
|
148 |
//! @SYMTestStatus Released
|
|
149 |
//! @SYMTestPriority normal
|
|
150 |
//! @SYMTestActions Do Proxy active-backup for specified data owner asynchronously
|
|
151 |
//! @SYMTestExpectedResults Backup succeeds
|
|
152 |
//! @SYMTestType CIT
|
|
153 |
RUN_TEST_STEP 100 BURTestServer TestBackupAsync z:\testdata\scripts\sbetestdata\test.ini ACTIVE_BACKUP_0020
|
|
154 |
END_TESTCASE MTP-SBE-ACTIVEBACKUP-ASYNC-0020
|
|
155 |
|
|
156 |
START_TESTCASE MTP-SBE-ACTIVEBACKUP-ASYNC-0030
|
|
157 |
//! @SYMTestCaseID MTP-SBE-ACTIVEBACKUP-ASYNC-0030
|
|
158 |
//! @SYMTestCaseDesc Do Incremental active-backup for specified data owner asynchronously
|
|
159 |
//! @SYMPREQ 2492
|
|
160 |
//! @SYMTestStatus Released
|
|
161 |
//! @SYMTestPriority normal
|
|
162 |
//! @SYMTestActions Do Incremental active-backup for specified data owner asynchronously
|
|
163 |
//! @SYMTestExpectedResults Backup succeeds
|
|
164 |
//! @SYMTestType CIT
|
|
165 |
RUN_TEST_STEP 100 BURTestServer TestBackupAsync z:\testdata\scripts\sbetestdata\test.ini ACTIVE_BACKUP_0030
|
|
166 |
END_TESTCASE MTP-SBE-ACTIVEBACKUP-ASYNC-0030
|
|
167 |
|
|
168 |
START_TESTCASE MTP-SBE-ACTIVEBACKUP-ASYNC-0040
|
|
169 |
//! @SYMTestCaseID MTP-SBE-ACTIVEBACKUP-ASYNC-0040
|
|
170 |
//! @SYMTestCaseDesc Do active-backup asynchronously for a data owner whose executable file is missing
|
|
171 |
//! @SYMPREQ 2492
|
|
172 |
//! @SYMTestStatus Released
|
|
173 |
//! @SYMTestPriority normal
|
|
174 |
//! @SYMTestActions Do active-backup asynchronously for a data owner whose executable file is missing
|
|
175 |
//! @SYMTestExpectedResults Backup fails with error code 5
|
|
176 |
//! @SYMTestType CIT
|
|
177 |
RUN_TEST_STEP 100 BURTestServer TestBackupAsync z:\testdata\scripts\sbetestdata\test.ini ACTIVE_BACKUP_0040
|
|
178 |
END_TESTCASE MTP-SBE-ACTIVEBACKUP-ASYNC-0040
|
|
179 |
|
|
180 |
PRINT ----------------------------------------------
|
|
181 |
PRINT Test Active Restore Async
|
|
182 |
PRINT ----------------------------------------------
|
|
183 |
|
|
184 |
START_TESTCASE MTP-SBE-ACTIVERESTORE-ASYNC-0010
|
|
185 |
//! @SYMTestCaseID MTP-SBE-ACTIVERESTORE-ASYNC-0010
|
|
186 |
//! @SYMTestCaseDesc Do BaseOnly active-restore for three data owners asynchronously
|
|
187 |
//! @SYMPREQ 2492
|
|
188 |
//! @SYMTestStatus Released
|
|
189 |
//! @SYMTestPriority normal
|
|
190 |
//! @SYMTestActions Do BaseOnly active-restore for three data owners asynchronously
|
|
191 |
//! @SYMTestExpectedResults Restore succeeds
|
|
192 |
//! @SYMTestType CIT
|
|
193 |
RUN_TEST_STEP 100 BURTestServer TestRestoreAsync z:\testdata\scripts\sbetestdata\test.ini ACTIVE_RESTORE_0010
|
|
194 |
END_TESTCASE MTP-SBE-ACTIVERESTORE-ASYNC-0010
|
|
195 |
|
|
196 |
START_TESTCASE MTP-SBE-ACTIVERESTORE-ASYNC-0020
|
|
197 |
//! @SYMTestCaseID MTP-SBE-ACTIVERESTORE-ASYNC-0020
|
|
198 |
//! @SYMTestCaseDesc Do Proxy active-restore for specified data owner asynchronously
|
|
199 |
//! @SYMPREQ 2492
|
|
200 |
//! @SYMTestStatus Released
|
|
201 |
//! @SYMTestPriority normal
|
|
202 |
//! @SYMTestActions Do Proxy active-restore for specified data owner asynchronously
|
|
203 |
//! @SYMTestExpectedResults Restore succeeds
|
|
204 |
//! @SYMTestType CIT
|
|
205 |
RUN_TEST_STEP 100 BURTestServer TestRestoreAsync z:\testdata\scripts\sbetestdata\test.ini ACTIVE_RESTORE_0020
|
|
206 |
END_TESTCASE MTP-SBE-ACTIVERESTORE-ASYNC-0020
|
|
207 |
|
|
208 |
START_TESTCASE MTP-SBE-ACTIVERESTORE-ASYNC-0030
|
|
209 |
//! @SYMTestCaseID MTP-SBE-ACTIVERESTORE-ASYNC-0030
|
|
210 |
//! @SYMTestCaseDesc Do Incremental active-restore for specified data owner asynchronously
|
|
211 |
//! @SYMPREQ 2492
|
|
212 |
//! @SYMTestStatus Released
|
|
213 |
//! @SYMTestPriority normal
|
|
214 |
//! @SYMTestActions Do Incremental active-restore for specified data owner asynchronously
|
|
215 |
//! @SYMTestExpectedResults Restore succeeds
|
|
216 |
//! @SYMTestType CIT
|
|
217 |
RUN_TEST_STEP 100 BURTestServer TestRestoreAsync z:\testdata\scripts\sbetestdata\test.ini ACTIVE_RESTORE_0030
|
|
218 |
END_TESTCASE MTP-SBE-ACTIVERESTORE-ASYNC-0030
|
|
219 |
|
|
220 |
START_TESTCASE MTP-SBE-ACTIVERESTORE-ASYNC-0040
|
|
221 |
//! @SYMTestCaseID MTP-SBE-ACTIVERESTORE-ASYNC-0040
|
|
222 |
//! @SYMTestCaseDesc Do active-restore asynchronously for a data owner whose executable file is missing
|
|
223 |
//! @SYMPREQ 2492
|
|
224 |
//! @SYMTestStatus Released
|
|
225 |
//! @SYMTestPriority normal
|
|
226 |
//! @SYMTestActions Do active-restore asynchronously for a data owner whose executable file is missing
|
|
227 |
//! @SYMTestExpectedResults Restore fails with error code 5
|
|
228 |
//! @SYMTestType CIT
|
|
229 |
RUN_TEST_STEP 100 BURTestServer TestRestoreAsync z:\testdata\scripts\sbetestdata\test.ini ACTIVE_RESTORE_0040
|
|
230 |
END_TESTCASE MTP-SBE-ACTIVERESTORE-ASYNC-0040 |