// 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 request for swp change
//
//
#include <ssm/ssmcmd.rh>
// valid struct
RESOURCE SSM_CREATE_SYSTEM_WIDE_PROPERTY r_command_create_swp1
{
severity = ECmdCriticalSeverity;
key = 999;
value = 876;
filename = "ssm.swp.policy.test.cmdreqswp";
}
// invalid type
RESOURCE SSM_CREATE_SYSTEM_WIDE_PROPERTY r_command_create_swp2
{
type = ESsmCmdLoadSup;
severity = ECmdMediumSeverity;
key = 999;
value = 876;
filename = "ssm.swp.policy.test.cmdreqswp";
}
// unsupported version
RESOURCE SSM_CREATE_SYSTEM_WIDE_PROPERTY r_command_create_swp3
{
version = 999;
severity = ECmdMediumSeverity;
key = 999;
value = 876;
filename = "ssm.swp.policy.test.cmdreqswp";
}
// missing filename
RESOURCE SSM_CREATE_SYSTEM_WIDE_PROPERTY r_command_create_swp4
{
severity = ECmdCriticalSeverity;
key = 999;
value = 876;
}
// filename with path
RESOURCE SSM_CREATE_SYSTEM_WIDE_PROPERTY r_command_create_swp5
{
type = ESsmCmdCreateSwp;
severity = ECmdCriticalSeverity;
key = 999;
value = 876;
filename = "Z:\\sys\\bin\\ssm.swp.policy.test.cmdreqswp";
}
#ifdef SYMBIAN_SSM_FLEXIBLE_MERGE
// valid priority
RESOURCE SSM_CREATE_SYSTEM_WIDE_PROPERTY r_command_create_swp6
{
severity = ECmdCriticalSeverity;
key = 999;
value = 876;
filename = "ssm.swp.policy.test.cmdreqswp";
priority = 1000;
}
//first version
RESOURCE SSM_CREATE_SYSTEM_WIDE_PROPERTY r_command_create_swp7
{
version = ECmdCreateSwpInitialVersion;
severity = ECmdCriticalSeverity;
key = 999;
value = 876;
filename = "ssm.swp.policy.test.cmdreqswp";
}
// negative priority
RESOURCE SSM_CREATE_SYSTEM_WIDE_PROPERTY r_command_create_swp8
{
severity = ECmdCriticalSeverity;
key = 999;
value = 876;
filename = "ssm.swp.policy.test.cmdreqswp";
priority = -1;
}
#endif