systemhealthmanagement/systemhealthmgr/test/tsysmon/scripts/shmatest_sysmon_regselferoscapsok.script
changeset 0 4e1aa6a622a0
equal deleted inserted replaced
-1:000000000000 0:4e1aa6a622a0
       
     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 //! @file
       
    18 //! @SYMTestSuiteName APPFWK-SYSMON
       
    19 // 
       
    20 
       
    21 //
       
    22 LOAD_SERVER tsysmon_server
       
    23 //
       
    24 
       
    25 //! @SYMTestCaseID 		DEVSRVS-SHMA-SYSMON-0023
       
    26 //! @SYMPREQ 			PREQ1089 PREQ1871
       
    27 //! @SYMREQ			REQ6596 REQ9457
       
    28 //! @SYMTestType		CIT
       
    29 //! @SYMTestPriority		Critical
       
    30 //! @SYMTestCaseDependencies
       
    31 //! @SYMTestCaseDesc	A process registers itself for monitoring, with 'ERestartOS' policy, with the ProtServ capability
       
    32 //! @SYMTestActions		The process must have the ProtServ PlatSec capability.
       
    33 //! Open a connection to the SysMon process. (This will return 'KErrNone'.)
       
    34 //! Attempt to self-register with the 'ERestartOS' policy.
       
    35 //! @SYMTestExpectedResults 	The process is registered. This is confirmed by the attempt to register the process returning 'KErrNone'.
       
    36 //
       
    37 START_TESTCASE DEVSRVS-SHMA-SYSMON-0023
       
    38 RUN_PROGRAM 100 setcap tsysmon_app_selfregister.exe 100 sysmontest_selfregister_protserv.exe
       
    39 RUN_TEST_STEP 100 tsysmon_server Register z:\shmatest\configs\tsysmon.ini APPFWK-SYSMON-0023
       
    40 END_TESTCASE DEVSRVS-SHMA-SYSMON-0023