sysstatemgmt/systemstarter/test/trestartsys/scripts/sysstarttest_restartsyswithmode.script
equal
deleted
inserted
replaced
|
1 // Copyright (c) 2006-2009 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 LOAD_SUITE trestartsys_server |
|
17 |
|
18 START_TESTCASE DEVSRVS-SYSSTART-RESTARTSYS-0002 |
|
19 //! @SYMTestCaseID DEVSRVS-SYSSTART-RESTARTSYS-0002 |
|
20 //! @SYMTestCaseDesc Test restarting system in a specified mode. |
|
21 //! @SYMPREQ PREQ1089 |
|
22 //! @SYMREQ REQ6597 |
|
23 //! @SYMTestStatus Implemented |
|
24 //! @SYMTestPriority Critical |
|
25 //! @SYMTestActions 1. Registers itself for power client power-off notifications using CSaveNotifier. |
|
26 //! 2. Calls the restart API with a specified test mode to restart the system. |
|
27 //! 3. Start a scheduler and wait for power-off notification. |
|
28 //! 4. Logs the time the restart notifications arrives to KDataFile |
|
29 //! 5. Let the restart take place. |
|
30 //! 6. After restart - Assert all expectations and write to the Tef logfile. |
|
31 //! @SYMTestExpectedResults Pass |
|
32 //! @SYMDevelopedForRelease Oghma |
|
33 RUN_TEST_STEP 100 trestartsys_server RestartSysWithMode |
|
34 END_TESTCASE DEVSRVS-SYSSTART-RESTARTSYS-0002 |