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