sysstatemgmt/systemstatemgr/test/tcmd/resource/ssmcmd_publishswp1.rss
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Tue, 27 Apr 2010 17:57:16 +0300
branchRCL_3
changeset 15 21e939dd208a
parent 0 4e1aa6a622a0
permissions -rw-r--r--
Revision: 201015 Kit: 201017

// 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