messagingfw/msgtestfw/TestCases/ScriptedTestCases/Capabilities/cap_emsvupdateheaderentry.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 PRINT Running  EMsvUpdateHeaderEntry
       
    18 
       
    19 //******************************************
       
    20 // We need WriteUserData to check the message db store. 
       
    21 // SID does not matter.
       
    22 //******************************************
       
    23 
       
    24 PRINT Running  EMsvUpdateHeaderEntry : Read Caps = WriteUserData. Same SID. Should Pass.
       
    25 RUN_SCRIPT  c:\msgtest\TestFramework\ScriptedTestCases\Capabilities\Cap_Setup.script
       
    26 
       
    27 RUN_PROGRAM -1 setcap c:\sys\bin\MessagingTestServer_caps.exe 0003fffe -SID 101F7778 C:\sys\bin\MessagingTestServer.exe
       
    28 
       
    29 RUN_PROGRAM -1 setcap c:\sys\bin\SendProxyServer_caps.exe 0001e000 -SID 101F7778 C:\sys\bin\SendProxyServer.exe
       
    30 
       
    31 	
       
    32 LOAD_SUITE MessagingTestServer -SharedData
       
    33 
       
    34 RUN_TEST_STEP 100 MessagingTestServer BEGIN_TEST_CASE
       
    35 
       
    36 RUN_TEST_STEP 100 MessagingTestServer SETUP_TEST_CASE
       
    37 
       
    38 RUN_TEST_STEP 100 MessagingTestServer EXECUTE_TEST_CASE
       
    39 
       
    40 RUN_TEST_STEP 100 MessagingTestServer SendEMsvUpdateHeaderEntry c:\msgtest\testframework\scriptedtestcases\capabilities\cap_emsvupdateheaderentry.ini UpdateHeaderEntryPass
       
    41 
       
    42 RUN_TEST_STEP 100 MessagingTestServer CHECK_POSTCONDITIONS
       
    43 
       
    44 RUN_TEST_STEP 100 MessagingTestServer END_TEST_CASE
       
    45 
       
    46 
       
    47 
       
    48 // Need delay to allow SendProxyServer shutting down
       
    49 DELAY 3000
       
    50 RUN_SCRIPT  c:\msgtest\TestFramework\ScriptedTestCases\Capabilities\Cap_Restore.script
       
    51