diff -r 000000000000 -r 4e1aa6a622a0 sysstatemgmt/systemstatemgr/test/tcmd/resource/ssmcmd_setpandskey.rss --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sysstatemgmt/systemstatemgr/test/tcmd/resource/ssmcmd_setpandskey.rss Tue Feb 02 00:53:00 2010 +0200 @@ -0,0 +1,65 @@ +// 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 + +// valid struct +RESOURCE SSM_SET_PUBLISH_AND_SUBSCRIBE r_command_valid_data + { + version = ECmdSetPAndSKeyInitialVersion; + severity = ECmdMediumSeverity; + category = 0x1234; + key = 678; + value = 589; + } + +#ifdef SYMBIAN_SSM_FLEXIBLE_MERGE +// valid priority +RESOURCE SSM_SET_PUBLISH_AND_SUBSCRIBE r_command_valid_data1 + { + version = ECmdSetPAndSKeyVersionWithPriority; + severity = ECmdMediumSeverity; + category = 0x1234; + key = 678; + value = 589; + priority = 1000; + } + +// valid priority +RESOURCE SSM_SET_PUBLISH_AND_SUBSCRIBE r_command_valid_data2 + { + version = ECmdSetPAndSKeyInitialVersion; + severity = ECmdMediumSeverity; + category = 0x1234; + key = 678; + value = 589; + } + +// negative priority +RESOURCE SSM_SET_PUBLISH_AND_SUBSCRIBE r_command_valid_data3 + { + version = ECmdSetPAndSKeyVersionWithPriority; + severity = ECmdMediumSeverity; + category = 0x1234; + key = 678; + value = 589; + priority = -1; + } + +#endif + +