sysstatemgmt/systemstarter/test/trestartsys/scripts/sysstarttest_restartsyswithmode.script
author Tapani Kanerva <Tapani.Kanerva@nice.fi>
Thu, 11 Nov 2010 14:35:29 +0000
branchRCL_3
changeset 86 79105dd92dc2
parent 0 4e1aa6a622a0
permissions -rw-r--r--
Export meaningful default HWRM policy files, to fix Bug 3852

// Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
// All rights reserved.
// This component and the accompanying materials are made available
// under the terms of "Eclipse Public License v1.0"
// which accompanies this distribution, and is available
// at the URL "http://www.eclipse.org/legal/epl-v10.html".
//
// Initial Contributors:
// Nokia Corporation - initial contribution.
//
// Contributors:
//
// Description:
//

LOAD_SUITE trestartsys_server

START_TESTCASE 			DEVSRVS-SYSSTART-RESTARTSYS-0002
//! @SYMTestCaseID 		DEVSRVS-SYSSTART-RESTARTSYS-0002
//! @SYMTestCaseDesc 		Test restarting system in a specified mode.
//! @SYMPREQ			PREQ1089
//! @SYMREQ			REQ6597
//! @SYMTestStatus		Implemented
//! @SYMTestPriority		Critical
//! @SYMTestActions		1. Registers itself for power client power-off notifications using CSaveNotifier. 
//! 				2. Calls the restart API with a specified test mode to restart the system. 
//! 				3. Start a scheduler and wait for power-off notification.
//! 				4. Logs the time the restart notifications arrives to KDataFile
//! 				5. Let the restart take place.
//! 				6. After restart - Assert all expectations and write to the Tef logfile.
//! @SYMTestExpectedResults	Pass
//! @SYMDevelopedForRelease	Oghma
RUN_TEST_STEP 100 trestartsys_server RestartSysWithMode
END_TESTCASE 			DEVSRVS-SYSSTART-RESTARTSYS-0002