systemhealthmanagement/systemhealthmgr/test/trestartsys/scripts/shmatest_restartsyswithmode.script
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Tue, 06 Jul 2010 15:43:30 +0300
changeset 45 c6215323ad55
parent 0 4e1aa6a622a0
permissions -rw-r--r--
Revision: 201027 Kit: 2010127

// 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-SHMA-RESTARTSYS-0002
//! @SYMTestCaseID 		DEVSRVS-SHMA-RESTARTSYS-0002
//! @SYMTestCaseDesc 		Test restarting system in a specified mode.
//! @SYMPREQ			PREQ1089 PREQ1871
//! @SYMREQ			REQ6597 REQ9457
//! @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-SHMA-RESTARTSYS-0002