systemhealthmanagement/systemhealthmgr/test/tsysmon/scripts/shmatest_sysmon_selfmoncancel.script
// Copyright (c) 2007-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:
//
PRINT Run SelfMonCancel test
LOAD_SUITE tsysmon_server
START_TESTCASE DEVSRVS-SHMA-SYSMON-0008
//! @SYMTestCaseID DEVSRVS-SHMA-SYSMON-0008
//! @SYMPREQ PREQ1089 PREQ1871
//! @SYMREQ REQ6601 REQ9457 REQ9266
//! @SYMTestType UT
//! @SYMTestPriority Critical
//! @SYMTestStatus Implemented
//! @SYMTestCaseDesc Monitoring can be cancelled.
//! @SYMTestActions 1. Start a process from a test-execute test.
//! 2. Request monitoring of this process using startupproperties.
//! 3. Ask the process to cancel monitoring.
//! 4. Kill the process
//! 5. Assert that the process isn't restarted.
//! 6. Repeat steps 1-5 using ssmstartupproperties.
//! @SYMTestExpectedResults Pass
RUN_TEST_STEP 100 tsysmon_server SelfMonCancel
END_TESTCASE DEVSRVS-SHMA-SYSMON-0008