1 // Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies). |
|
2 // All rights reserved. |
|
3 // This component and the accompanying materials are made available |
|
4 // under the terms of "Eclipse Public License v1.0" |
|
5 // which accompanies this distribution, and is available |
|
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // |
|
15 |
|
16 PRINT Run CriticalNoRetries test |
|
17 |
|
18 LOAD_SUITE tsysmon_server |
|
19 |
|
20 START_TESTCASE DEVSRVS-SHMA-SYSMON-0054 |
|
21 //! @SYMTestCaseID DEVSRVS-SHMA-SYSMON-0054 |
|
22 //! @SYMPREQ |
|
23 //! @SYMREQ |
|
24 //! @SYMTestType UT |
|
25 //! @SYMTestPriority Critical |
|
26 //! @SYMTestStatus Implemented |
|
27 //! @SYMTestCaseDesc A process with ECriticalNoRetries recovery policy restarts the OS without retrying to restart the process |
|
28 //! @SYMTestActions 1. Start a process |
|
29 //! 2. Call RSysMonSession::Monitor() using startupproperties for this process with EWaitForStart, retry count = 1, |
|
30 //! and ECriticalNoRetries |
|
31 //! 3. Kill the process |
|
32 //! 4. The test shouldn't try to start the process again. It should restart the OS without any retries - this |
|
33 //! is the actual test |
|
34 //! @SYMTestExpectedResults pass |
|
35 RUN_TEST_STEP 100 tsysmon_server CriticalNoRetriesStep |
|
36 END_TESTCASE DEVSRVS-SHMA-SYSMON-0054 |
|
37 |
|
38 RUN_UTILS MakeReadWrite c:\testdata\runcounts\tsysmon_app_dontrendezvous.exe.txt |
|
39 RUN_UTILS DeleteFile c:\testdata\runcounts\tsysmon_app_dontrendezvous.exe.txt |
|