|
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 // Cap_CopySingleEntryInDraftsPass.script |
|
18 // |
|
19 |
|
20 |
|
21 LOAD_SUITE MessagingTestServer -SharedData |
|
22 |
|
23 |
|
24 RUN_TEST_STEP 100 MessagingTestServer BEGIN_TEST_CASE |
|
25 RUN_TEST_STEP 100 MessagingTestServer SETUP_TEST_CASE |
|
26 RUN_TEST_STEP 100 MessagingTestServer EXECUTE_TEST_CASE |
|
27 |
|
28 RUN_TEST_STEP 100 MessagingTestServer CreateSession c:\msgtest\TestFramework\ScriptedTestCases\Capabilities\Cap_CopySingleEntryInFolderFromPass.ini CreateSession |
|
29 |
|
30 RUN_TEST_STEP 100 MessagingTestServer LoadMsvIdParamToFile c:\msgtest\TestFramework\ScriptedTestCases\Capabilities\Cap_CopySingleEntryInFolderFromPass.ini LoadMsvIdFromParamToFile |
|
31 // Parent folder of the message. |
|
32 RUN_TEST_STEP 100 MessagingTestServer LoadMsvIdParamToFile c:\msgtest\TestFramework\ScriptedTestCases\Capabilities\Cap_CopySingleEntryInFolderFromPass.ini LoadMsvIdToParamToFile |
|
33 // Folder with the message will go. |
|
34 RUN_TEST_STEP 100 MessagingTestServer LoadMsvIdParamToFile c:\msgtest\TestFramework\ScriptedTestCases\Capabilities\Cap_CopySingleEntryInFolderFromPass.ini LoadMsvIdParamToFile |
|
35 // id of the message we wil move. |
|
36 |
|
37 RUN_TEST_STEP 100 MessagingTestServer CheckChildrenCount c:\msgtest\TestFramework\ScriptedTestCases\Capabilities\Cap_CopySingleEntryInFolderFromPass.ini CheckChildrenCount1 |
|
38 // Check something in the drafts folder that we can modify. |
|
39 |
|
40 RUN_TEST_STEP 100 MessagingTestServer SendEMsvCopyEntries c:\msgtest\TestFramework\ScriptedTestCases\Capabilities\Cap_CopySingleEntryInFolderFromPass.ini EMsvCopyEntriesParams |
|
41 |
|
42 RUN_TEST_STEP 100 MessagingTestServer CHECK_POSTCONDITIONS |
|
43 RUN_TEST_STEP 100 MessagingTestServer CheckChildrenCount c:\msgtest\TestFramework\ScriptedTestCases\Capabilities\Cap_CopySingleEntryInFolderFromPass.ini CheckChildrenCount1 |
|
44 // Check nothing in from folder. |
|
45 RUN_TEST_STEP 100 MessagingTestServer CheckChildrenCount c:\msgtest\TestFramework\ScriptedTestCases\Capabilities\Cap_CopySingleEntryInFolderFromPass.ini CheckChildrenFolderToCount1 |
|
46 // Check something moved to the to folder. |
|
47 |
|
48 RUN_TEST_STEP 100 MessagingTestServer END_TEST_CASE |
|
49 |