persistentstorage/centralrepository/test/testexecute/BUR/scripts/te_centrep_BURSuite.script
equal
deleted
inserted
replaced
1 // Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies). |
1 // Copyright (c) 2005-2010 Nokia Corporation and/or its subsidiary(-ies). |
2 // All rights reserved. |
2 // All rights reserved. |
3 // This component and the accompanying materials are made available |
3 // This component and the accompanying materials are made available |
4 // under the terms of "Eclipse Public License v1.0" |
4 // under the terms of "Eclipse Public License v1.0" |
5 // which accompanies this distribution, and is available |
5 // which accompanies this distribution, and is available |
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
46 //! @SYMTestExpectedResults The test must not fail |
46 //! @SYMTestExpectedResults The test must not fail |
47 //! @SYMPREQ PREQ752 |
47 //! @SYMPREQ PREQ752 |
48 //! PREQ908 |
48 //! PREQ908 |
49 |
49 |
50 RUN_UTILS DeleteFile c:\private\10202be9\persists\bac2bac2.* |
50 RUN_UTILS DeleteFile c:\private\10202be9\persists\bac2bac2.* |
51 RUN_TEST_STEP 300 te_centrep_BURSuite initailiseStep |
51 RUN_TEST_STEP 300 te_centrep_BURSuite initialiseStep |
52 RUN_TEST_STEP -1 BURTestServer TestBackup z:\TEF_CentralRepository\BUR.ini test1 |
52 RUN_TEST_STEP -1 BURTestServer TestBackup z:\TEF_CentralRepository\BUR.ini test1 |
53 RUN_TEST_STEP -1 BURTestServer TestRestore z:\TEF_CentralRepository\BUR.ini test1 |
53 RUN_TEST_STEP -1 BURTestServer TestRestore z:\TEF_CentralRepository\BUR.ini test1 |
54 RUN_TEST_STEP 100 te_centrep_BURSuite compareStep z:\TEF_CentralRepository\BUR.ini step1 |
54 RUN_TEST_STEP 100 te_centrep_BURSuite compareStep z:\TEF_CentralRepository\BUR.ini step1 |
55 END_TESTCASE SYSLIB-CENTRALREPOSITORY-CIT-0131 //Unchanged |
55 END_TESTCASE SYSLIB-CENTRALREPOSITORY-CIT-0131 //Unchanged |
56 |
56 |
68 //! @SYMTestActions Create repository, backup, corrupt, restore, check values |
68 //! @SYMTestActions Create repository, backup, corrupt, restore, check values |
69 //! @SYMTestExpectedResults The test must not fail |
69 //! @SYMTestExpectedResults The test must not fail |
70 //! @SYMPREQ PREQ752 |
70 //! @SYMPREQ PREQ752 |
71 //! PREQ908 |
71 //! PREQ908 |
72 |
72 |
73 RUN_TEST_STEP 300 te_centrep_BURSuite initailiseStep |
73 RUN_TEST_STEP 300 te_centrep_BURSuite initialiseStep |
74 RUN_TEST_STEP -1 BURTestServer TestBackup z:\TEF_CentralRepository\BUR.ini test1 |
74 RUN_TEST_STEP -1 BURTestServer TestBackup z:\TEF_CentralRepository\BUR.ini test1 |
75 RUN_UTILS CopyFile z:\private\10202be9\BADBADBA.txt c:\private\10202be9\BACBACBA.txt |
75 RUN_UTILS CopyFile z:\private\10202be9\BADBADBA.txt c:\private\10202be9\BACBACBA.txt |
76 RUN_UTILS MakeReadWrite c:\private\10202be9\BACBACBA.txt |
76 RUN_UTILS MakeReadWrite c:\private\10202be9\BACBACBA.txt |
77 RUN_TEST_STEP -1 BURTestServer TestRestore z:\TEF_CentralRepository\BUR.ini test1 |
77 RUN_TEST_STEP -1 BURTestServer TestRestore z:\TEF_CentralRepository\BUR.ini test1 |
78 RUN_TEST_STEP 100 te_centrep_BURSuite compareStep z:\TEF_CentralRepository\BUR.ini step2 |
78 RUN_TEST_STEP 100 te_centrep_BURSuite compareStep z:\TEF_CentralRepository\BUR.ini step2 |
92 //! @SYMTestActions Create repository, backup, modify, restore, check values |
92 //! @SYMTestActions Create repository, backup, modify, restore, check values |
93 //! @SYMTestExpectedResults The test must not fail |
93 //! @SYMTestExpectedResults The test must not fail |
94 //! @SYMPREQ PREQ752 |
94 //! @SYMPREQ PREQ752 |
95 //! PREQ908 |
95 //! PREQ908 |
96 |
96 |
97 RUN_TEST_STEP 300 te_centrep_BURSuite initailiseStep |
97 RUN_TEST_STEP 300 te_centrep_BURSuite initialiseStep |
98 RUN_TEST_STEP -1 BURTestServer TestBackup z:\TEF_CentralRepository\BUR.ini test1 |
98 RUN_TEST_STEP -1 BURTestServer TestBackup z:\TEF_CentralRepository\BUR.ini test1 |
99 RUN_TEST_STEP 100 te_centrep_BURSuite modifyStep |
99 RUN_TEST_STEP 100 te_centrep_BURSuite modifyStep |
100 RUN_TEST_STEP -1 BURTestServer TestRestore z:\TEF_CentralRepository\BUR.ini test1 |
100 RUN_TEST_STEP -1 BURTestServer TestRestore z:\TEF_CentralRepository\BUR.ini test1 |
101 RUN_TEST_STEP 100 te_centrep_BURSuite compareStep z:\TEF_CentralRepository\BUR.ini step3 |
101 RUN_TEST_STEP 100 te_centrep_BURSuite compareStep z:\TEF_CentralRepository\BUR.ini step3 |
102 END_TESTCASE SYSLIB-CENTRALREPOSITORY-CIT-0133 //Modify |
102 END_TESTCASE SYSLIB-CENTRALREPOSITORY-CIT-0133 //Modify |
115 //! @SYMTestActions Create repository, backup, delete, restore, check values |
115 //! @SYMTestActions Create repository, backup, delete, restore, check values |
116 //! @SYMTestExpectedResults The test must not fail |
116 //! @SYMTestExpectedResults The test must not fail |
117 //! @SYMPREQ PREQ752 |
117 //! @SYMPREQ PREQ752 |
118 //! PREQ908 |
118 //! PREQ908 |
119 |
119 |
120 RUN_TEST_STEP 300 te_centrep_BURSuite initailiseStep |
120 RUN_TEST_STEP 300 te_centrep_BURSuite initialiseStep |
121 RUN_TEST_STEP -1 BURTestServer TestBackup z:\TEF_CentralRepository\BUR.ini test1 |
121 RUN_TEST_STEP -1 BURTestServer TestBackup z:\TEF_CentralRepository\BUR.ini test1 |
122 RUN_UTILS DeleteFile c:\private\10202be9\persists\bacbacba.* |
122 RUN_UTILS DeleteFile c:\private\10202be9\persists\bacbacba.* |
123 //Delay to make sure that cache has been emptied. |
123 //Delay to make sure that cache has been emptied. |
124 DELAY 8000 |
124 DELAY 8000 |
125 RUN_TEST_STEP -1 BURTestServer TestRestore z:\TEF_CentralRepository\BUR.ini test1 |
125 RUN_TEST_STEP -1 BURTestServer TestRestore z:\TEF_CentralRepository\BUR.ini test1 |
163 //! @SYMTestCaseDesc Recoverable errors during installation of repositories are not handled |
163 //! @SYMTestCaseDesc Recoverable errors during installation of repositories are not handled |
164 //! @SYMTestPriority High |
164 //! @SYMTestPriority High |
165 //! @SYMTestActions Fail backup by removing persists directory, observe no panic, restore persists directory |
165 //! @SYMTestActions Fail backup by removing persists directory, observe no panic, restore persists directory |
166 //! @SYMTestExpectedResults The test must not panic. Backup will fail but Centrep server will handle leave condition gracefully |
166 //! @SYMTestExpectedResults The test must not panic. Backup will fail but Centrep server will handle leave condition gracefully |
167 //! @SYMDEF DEF091759 |
167 //! @SYMDEF DEF091759 |
168 |
|
169 RUN_UTILS MkDir c:\private\10202be9\temp |
168 RUN_UTILS MkDir c:\private\10202be9\temp |
170 RUN_UTILS CopyFile c:\private\10202be9\persists\*.* c:\private\10202be9\temp |
169 RUN_UTILS CopyFile c:\private\10202be9\persists\*.* c:\private\10202be9\temp |
171 RUN_UTILS DeleteDirectory c:\private\10202be9\persists |
170 RUN_UTILS DeleteDirectory c:\private\10202be9\persists |
172 RUN_TEST_STEP !Result=Fail -1 BURTestServer TestBackup z:\TEF_CentralRepository\BUR.ini test1 |
171 RUN_TEST_STEP !Result=Fail -1 BURTestServer TestBackup z:\TEF_CentralRepository\BUR.ini test1 |
173 RUN_UTILS MkDir c:\private\10202be9\persists |
172 RUN_UTILS MkDir c:\private\10202be9\persists |
198 //! Step 4 and step 6 must be run in the same thread for the receiving of notifications. |
197 //! Step 4 and step 6 must be run in the same thread for the receiving of notifications. |
199 //! @SYMTestExpectedResults The notification requesting test step should be notified about |
198 //! @SYMTestExpectedResults The notification requesting test step should be notified about |
200 //! the changes by the restoration and get the new values of changed keys successfully. |
199 //! the changes by the restoration and get the new values of changed keys successfully. |
201 //! @SYMDEF INC101923 |
200 //! @SYMDEF INC101923 |
202 // cenrep notifier does not fire when restoring from backup |
201 // cenrep notifier does not fire when restoring from backup |
203 RUN_TEST_STEP 300 te_centrep_BURSuite initailiseStep |
202 RUN_TEST_STEP 300 te_centrep_BURSuite initialiseStep |
204 RUN_TEST_STEP -1 BURTestServer TestBackup z:\TEF_CentralRepository\BUR.ini test1 |
203 RUN_TEST_STEP -1 BURTestServer TestBackup z:\TEF_CentralRepository\BUR.ini test1 |
205 RUN_TEST_STEP 100 te_centrep_BURSuite modifyStep |
204 RUN_TEST_STEP 100 te_centrep_BURSuite modifyStep |
206 RUN_TEST_STEP 100 te_centrep_burobserversuite RestoreNotificationsInitialiseStep |
205 RUN_TEST_STEP 100 te_centrep_burobserversuite RestoreNotificationsInitialiseStep |
207 RUN_TEST_STEP 100 te_centrep_burobserversuite RestoreNotificationsRequestStep |
206 RUN_TEST_STEP 100 te_centrep_burobserversuite RestoreNotificationsRequestStep |
208 RUN_TEST_STEP -1 BURTestServer TestRestore z:\TEF_CentralRepository\BUR.ini test1 |
207 RUN_TEST_STEP -1 BURTestServer TestRestore z:\TEF_CentralRepository\BUR.ini test1 |