messagingfw/msgtestfw/TestCases/ScriptedTestCases/Capabilities/Cap_CopySingleEntryToDraftsFail.script
changeset 0 8e480a14352b
equal deleted inserted replaced
-1:000000000000 0:8e480a14352b
       
     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_CopySingleEntryToDraftsFail.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 
       
    27 RUN_TEST_STEP 100 MessagingTestServer GetBaseConstants	c:\msgtest\TestFramework\ScriptedTestCases\Capabilities\Cap_CopySingleEntryToDrafts.ini GetBaseConstants
       
    28 RUN_TEST_STEP 100 MessagingTestServer CreateSession	c:\msgtest\TestFramework\ScriptedTestCases\Capabilities\Cap_CopySingleEntryToDrafts.ini CreateSession
       
    29 
       
    30 // Check that there is an entry in from folder
       
    31 RUN_TEST_STEP 100 MessagingTestServer CheckChildrenCount c:\msgtest\TestFramework\ScriptedTestCases\Capabilities\Cap_CopySingleEntryToDrafts.ini CheckChildrenCount0
       
    32 
       
    33 // Check that we have a target entry in to folder (to copy to)
       
    34 RUN_TEST_STEP 100 MessagingTestServer CheckChildrenCount c:\msgtest\TestFramework\ScriptedTestCases\Capabilities\Cap_CopySingleEntryToDrafts.ini CheckChildrenCount1
       
    35 
       
    36 RUN_TEST_STEP 100 MessagingTestServer EXECUTE_TEST_CASE
       
    37 
       
    38 RUN_TEST_STEP 100 MessagingTestServer LoadMsvIdParamToFile c:\msgtest\TestFramework\ScriptedTestCases\Capabilities\Cap_CopySingleEntryToDrafts.ini LoadSourceMsgId
       
    39 RUN_TEST_STEP 100 MessagingTestServer LoadMsvIdParamToFile c:\msgtest\TestFramework\ScriptedTestCases\Capabilities\Cap_CopySingleEntryToDrafts.ini LoadTargetMsgId
       
    40 
       
    41 RUN_TEST_STEP 100 MessagingTestServer SendEMsvCopyEntries c:\msgtest\TestFramework\ScriptedTestCases\Capabilities\Cap_CopySingleEntryToDrafts.ini EMsvCopyEntriesFail
       
    42 
       
    43 RUN_TEST_STEP 100 MessagingTestServer CHECK_POSTCONDITIONS
       
    44 
       
    45 RUN_TEST_STEP 100 MessagingTestServer END_TEST_CASE
       
    46