|
1 // |
|
2 // Copyright (c) 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 // This script downloads n-1 emails |
|
18 // It then simulates the removal of the MMC |
|
19 // 'n' will typically equal 16 |
|
20 // |
|
21 RUN_UTILS DeleteFile c:\messaging.db |
|
22 LOAD_SUITE MessagingTestServer -SharedData |
|
23 //CED c:\msgtest\TestFramework\Configurations\CommDbSettings\NtRasLongIdleTimeout.cfg |
|
24 RUN_TEST_STEP -1 MessagingTestServer BEGIN_TEST_CASE |
|
25 RUN_TEST_STEP -1 MessagingTestServer SETUP_TEST_CASE |
|
26 // download a bunch of emails |
|
27 RUN_TEST_STEP -1 MessagingTestServer GetBaseConstants c:\perf\remove.ini GetBaseConstants |
|
28 RUN_TEST_STEP -1 MessagingTestServer InitNtRas c:\perf\remove.ini InitNtRas |
|
29 RUN_TEST_STEP -1 MessagingTestServer CreateSession c:\perf\remove.ini CreateSession |
|
30 RUN_TEST_STEP -1 MessagingTestServer ChangeToExternalDrive c:\perf\remove.ini externalDriveID |
|
31 RUN_TEST_STEP -1 MessagingTestServer InsertMedia c:\perf\remove.ini MmcDrive |
|
32 RUN_TEST_STEP -1 MessagingTestServer ResetMessageStore c:\perf\remove.ini ResetMessageStore |
|
33 RUN_TEST_STEP -1 MessagingTestServer CreateRegistry c:\perf\remove.ini CreateRegistry |
|
34 RUN_TEST_STEP -1 MessagingTestServer SetDefaultConfiguration c:\perf\remove.ini SetDefaultConfigurationPOP3 |
|
35 RUN_TEST_STEP -1 MessagingTestServer CreatePop3Service c:\perf\remove.ini CreatePop3Service |
|
36 RUN_TEST_STEP -1 MessagingTestServer CreatePop3Mtm c:\perf\remove.ini CreatePop3Mtm |
|
37 RUN_TEST_STEP -1 MessagingTestServer SetPop3ServiceParameters c:\perf\remove.ini SetPop3ServiceParameters |
|
38 RUN_TEST_STEP -1 MessagingTestServer EXECUTE_TEST_CASE |
|
39 RUN_TEST_STEP -1 MessagingTestServer ConnectPop3Server c:\perf\remove.ini ConnectPop3Server |
|
40 RUN_TEST_STEP -1 MessagingTestServer CreateChildrenSelection c:\perf\remove.ini CreateChildrenSelection |
|
41 RUN_TEST_STEP -1 MessagingTestServer CopySelection c:\perf\remove.ini CopySelection |
|
42 RUN_TEST_STEP -1 MessagingTestServer DisconnectPop3Server c:\perf\remove.ini DisconnectPop3Server |
|
43 // terminate connection to mail server |
|
44 RUN_TEST_STEP -1 MessagingTestServer RemoveMedia c:\perf\remove.ini MmcDrive |
|
45 RUN_TEST_STEP -1 MessagingTestServer CHECK_POSTCONDITIONS |
|
46 RUN_TEST_STEP -1 MessagingTestServer CheckChildrenCount c:\perf\remove.ini CheckChildrenCount_15 |
|
47 RUN_TEST_STEP -1 MessagingTestServer END_TEST_CASE |