sysstatemgmt/systemstatemgr/test/tcmd/resource/ssmcmd_poweroff1.rss
author hgs
Tue, 02 Nov 2010 13:09:35 +0200
changeset 84 db3d1bc2aa9c
parent 0 4e1aa6a622a0
permissions -rw-r--r--
201043_01

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

#include <ssm/ssmcmd.rh>

// valid struct
RESOURCE SSM_POWER_OFF r_command_power_off1
	{
	severity = ECmdMediumSeverity;
	power_state = 1;
	}

// invalid type
RESOURCE SSM_POWER_OFF r_command_power_off2
	{
	type = ESsmCmdReqSwProperty;
	severity = ECmdMediumSeverity;
	power_state = 1;
	}

// unsupported version
RESOURCE SSM_POWER_OFF r_command_power_off3
	{
	version = 999;
	severity = ECmdMediumSeverity;
	power_state = 1;
	}

// invalid power event 1
RESOURCE SSM_POWER_OFF r_command_power_off4
	{
	severity = ECmdIgnoreFailure;
	power_state = -1;
	}

// invalid power event 2
RESOURCE SSM_POWER_OFF r_command_power_off5
	{
	severity = ECmdIgnoreFailure;
	power_state = 99;
	}