systemhealthmanagement/systemhealthmgr/test/tsysmon/scripts/shmatest_sysmon_startupregeioffailstart1.script
changeset 0 4e1aa6a622a0
child 21 ccb4f6b3db21
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-0044
       
    26 //! @SYMPREQ 			PREQ1089 PREQ1871
       
    27 //! @SYMREQ			REQ6604 REQ9457
       
    28 //! @SYMTestType		CIT
       
    29 //! @SYMTestPriority		Critical
       
    30 //! @SYMTestCaseDependencies	appfwk-sysmon-0044_<emulator|hardware>0.rsc must be used in place of SSCForStartupMode0.rsc
       
    31 //! @SYMTestCaseDesc		Use the new startup configuration format to register for process monitoring, with 'EIgnoreOnFailure' policy, have the process fail during startup.
       
    32 //! @SYMTestActions		Create a SSC file which will contain an item for a test application with EStartupProcess2, EWaitForStart, retry count = 0, EIgnoreOnFailure, and monitor = 1. The test application will be in the Critical Static section.
       
    33 //! The test application records a count in a file to check whether it is being loaded first time or second time.
       
    34 //! When SysStart loads the test application; it should not rendezvous successfully. The startup process should continue.
       
    35 //! A test-execute test should check this count value.
       
    36 //! @SYMTestExpectedResults 	The count value should be 1. The test application should not be running.
       
    37 //
       
    38 START_TESTCASE DEVSRVS-SHMA-SYSMON-0044
       
    39 RUN_TEST_STEP 100 tsysmon_server RunCountCheck z:\shmatest\configs\tsysmon.ini APPFWK-SYSMON-0044
       
    40 END_TESTCASE DEVSRVS-SHMA-SYSMON-0044