|
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 //???? Not tested as have no case that currently fails DPE 07/10/2004 |
|
21 |
|
22 LOAD_SUITE MessagingTestServer -SharedData |
|
23 |
|
24 |
|
25 RUN_TEST_STEP 100 MessagingTestServer BEGIN_TEST_CASE |
|
26 RUN_TEST_STEP 100 MessagingTestServer SETUP_TEST_CASE |
|
27 RUN_TEST_STEP 100 MessagingTestServer EXECUTE_TEST_CASE |
|
28 |
|
29 RUN_TEST_STEP 100 MessagingTestServer CreateSession c:\msgtest\TestFramework\ScriptedTestCases\Capabilities\Cap_CopySingleEntryInFolderFromFail.ini CreateSession |
|
30 |
|
31 RUN_TEST_STEP 100 MessagingTestServer LoadMsvIdParamToFile c:\msgtest\TestFramework\ScriptedTestCases\Capabilities\Cap_CopySingleEntryInFolderFromFail.ini LoadMsvIdFromParamToFile |
|
32 // Parent folder of the message. |
|
33 RUN_TEST_STEP 100 MessagingTestServer LoadMsvIdParamToFile c:\msgtest\TestFramework\ScriptedTestCases\Capabilities\Cap_CopySingleEntryInFolderFromFail.ini LoadMsvIdToParamToFile |
|
34 // Folder with the message will go. |
|
35 RUN_TEST_STEP 100 MessagingTestServer LoadMsvIdParamToFile c:\msgtest\TestFramework\ScriptedTestCases\Capabilities\Cap_CopySingleEntryInFolderFromFail.ini LoadMsvIdParamToFile |
|
36 // id of the message we wil copy. |
|
37 |
|
38 RUN_TEST_STEP 100 MessagingTestServer CheckChildrenCount c:\msgtest\TestFramework\ScriptedTestCases\Capabilities\Cap_CopySingleEntryInFolderFromFail.ini CheckChildrenCount1 |
|
39 // Check something in the drafts folder that we can modify. |
|
40 |
|
41 RUN_TEST_STEP 100 MessagingTestServer SendEMsvCopyEntries c:\msgtest\TestFramework\ScriptedTestCases\Capabilities\Cap_CopySingleEntryInFolderFromFail.ini EMsvCopyEntriesParams |
|
42 |
|
43 RUN_TEST_STEP 100 MessagingTestServer CHECK_POSTCONDITIONS |
|
44 RUN_TEST_STEP 100 MessagingTestServer CheckChildrenCount c:\msgtest\TestFramework\ScriptedTestCases\Capabilities\Cap_CopySingleEntryInFolderFromFail.ini CheckChildrenCount1 |
|
45 // Check something still in the from to folder. |
|
46 RUN_TEST_STEP 100 MessagingTestServer CheckChildrenCount c:\msgtest\TestFramework\ScriptedTestCases\Capabilities\Cap_CopySingleEntryInFolderFromFail.ini CheckChildrenFolderToCount0 |
|
47 // Check nothing moved to the to folder. |
|
48 |
|
49 RUN_TEST_STEP 100 MessagingTestServer END_TEST_CASE |
|
50 |