messagingfw/msgtestfw/TestCases/ScriptedTestCases/Capabilities/Cap_CopySingleEntryToOutboxFail.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_CopySingleEntryToOutboxFail.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_CopySingleEntryToOutbox.ini GetBaseConstants
       
    28 RUN_TEST_STEP 100 MessagingTestServer CreateSession	c:\msgtest\TestFramework\ScriptedTestCases\Capabilities\Cap_CopySingleEntryToOutbox.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_CopySingleEntryToOutbox.ini CheckChildrenCount0
       
    32 
       
    33 // Check that to folder is empty
       
    34 RUN_TEST_STEP 100 MessagingTestServer CheckChildrenCount c:\msgtest\TestFramework\ScriptedTestCases\Capabilities\Cap_CopySingleEntryToOutbox.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_CopySingleEntryToOutbox.ini LoadMsvIdParamToFile1
       
    39 RUN_TEST_STEP 100 MessagingTestServer LoadMsvIdParamToFile c:\msgtest\TestFramework\ScriptedTestCases\Capabilities\Cap_CopySingleEntryToOutbox.ini LoadMsvIdParamToFile2
       
    40 RUN_TEST_STEP 100 MessagingTestServer SendEMsvCopyEntries c:\msgtest\TestFramework\ScriptedTestCases\Capabilities\Cap_CopySingleEntryToOutbox.ini EMsvCopyEntriesFail
       
    41 
       
    42 RUN_TEST_STEP 100 MessagingTestServer CHECK_POSTCONDITIONS
       
    43 
       
    44 // Check that we still have no entries in the to folder
       
    45 RUN_TEST_STEP 100 MessagingTestServer CheckChildrenCount c:\msgtest\TestFramework\ScriptedTestCases\Capabilities\Cap_CopySingleEntryToOutbox.ini CheckChildrenCountFail
       
    46 
       
    47 RUN_TEST_STEP 100 MessagingTestServer END_TEST_CASE
       
    48