systemhealthmanagement/systemhealthmgr/test/tsysmon/scripts/shmatest_sysmon_cancelallmonitors.script
author Pat Downey <patd@symbian.org>
Wed, 01 Sep 2010 12:34:26 +0100
branchRCL_3
changeset 22 8cb079868133
parent 0 4e1aa6a622a0
permissions -rw-r--r--
Revert incorrect RCL_3 drop: Revision: 201033 Kit: 201035

// Copyright (c) 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: Script for testing the functionality of cancelling all the monitors
//

PRINT Run CancelAllMonitors test 
LOAD_SUITE tsysmon_server
START_TESTCASE 			DEVSRVS-SHMA-SYSMON-0063
//! @SYMTestCaseID 		DEVSRVS-SHMA-SYSMON-0063
//! @SYMDEF 			DEF142688
//! @SYMTestType		CIT
//! @SYMTestPriority	Critical
//! @SYMTestStatus 		Implemented
//! @SYMTestCaseDesc	All outstanding Monitors can be cancelled only by the ssm server
//! @SYMTestActions		1. Start 2 processes from a test-execute test. 
//! 					2. Request monitoring both the processes using ssmstartupproperties.
//! 					3. Request for cancelling all the montiors.
//! 					4. Kill both the processes
//! 					5. Assert that the processes are restarted.
//! 					6. Cancel the monitors individually
//! 					7. Assert that the processes aren't restarted.
//! @SYMTestExpectedResults 	Request for Cancelling all the montiors by the process without ssm sid would fail.

RUN_TEST_STEP 100 tsysmon_server CancelAllMonitors
END_TESTCASE 			DEVSRVS-SHMA-SYSMON-0063