sysstatemgmt/systemstatemgr/test/tcmd/resource/ssmcmd_publishswp1.rss
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) 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:
// Test publish swp
// 
//

#include <ssm/ssmcmd.rh>

// valid struct
RESOURCE SSM_PUBLISH_SYSTEM_WIDE_PROPERTY r_command_publish_swp1
	{
	severity = ECmdCriticalSeverity;
	execution_behaviour = ESsmWaitForSignal;
	}

// invalid type
RESOURCE SSM_PUBLISH_SYSTEM_WIDE_PROPERTY r_command_publish_swp2
	{
	type = ESsmCmdLoadSup;
	severity = ECmdMediumSeverity;
	execution_behaviour = ESsmWaitForSignal;
	}

// unsupported version
RESOURCE SSM_PUBLISH_SYSTEM_WIDE_PROPERTY r_command_publish_swp3
	{
	version = 999;
	severity = ECmdMediumSeverity;
	execution_behaviour = ESsmWaitForSignal;
	}

// test invalid execution behaviour (-ve value)
RESOURCE SSM_PUBLISH_SYSTEM_WIDE_PROPERTY r_command_publish_swp4
	{
	severity = ECmdCriticalSeverity;
	execution_behaviour = -1;
	}

// test invalid execution behaviour (out of bound value )
RESOURCE SSM_PUBLISH_SYSTEM_WIDE_PROPERTY r_command_publish_swp5
	{
	severity = ECmdCriticalSeverity;
	execution_behaviour = 0;
	}

#ifdef SYMBIAN_SSM_FLEXIBLE_MERGE
// valid priority
RESOURCE SSM_PUBLISH_SYSTEM_WIDE_PROPERTY r_command_publish_swp6
	{
	severity = ECmdCriticalSeverity;
	execution_behaviour = ESsmWaitForSignal;
	priority = 1000;
	}

// initial version
RESOURCE SSM_PUBLISH_SYSTEM_WIDE_PROPERTY r_command_publish_swp7
	{
	version = ECmdPublishSwpInitialVersion;
	severity = ECmdCriticalSeverity;
	execution_behaviour = ESsmWaitForSignal;
	}

// negative priority
RESOURCE SSM_PUBLISH_SYSTEM_WIDE_PROPERTY r_command_publish_swp8
	{
	severity = ECmdCriticalSeverity;
	execution_behaviour = ESsmWaitForSignal;
	priority = -1;
	}	

#endif