systemhealthmanagement/systemhealthmgr/test/tsysmon/scripts/shmatest_sysmon_cancelallmonitors.script
changeset 0 4e1aa6a622a0
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/systemhealthmanagement/systemhealthmgr/test/tsysmon/scripts/shmatest_sysmon_cancelallmonitors.script	Tue Feb 02 00:53:00 2010 +0200
@@ -0,0 +1,38 @@
+// 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
+
+
+