--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/homescreensrv_plat/sapi_homescreenplugin/tsrc/hspsconfigurationif/inc/mt_hsps_getpluginsettings_1.h Thu Dec 17 08:54:17 2009 +0200
@@ -0,0 +1,269 @@
+/*
+* Copyright (c) 2008 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 case GetPluginSettings(1) test data
+*
+*/
+
+
+#ifndef MT_HSPS_GETPLUGINSETTINGS_1_H_
+#define MT_HSPS_GETPLUGINSETTINGS_1_H_
+
+/*
+GetPluginSettings(1)
+----------------
+
+Test purpose
+
+The purpose of this test case is to verify that get plugin setting
+works properly when settings for plugin uid can be found.
+
+Pre-conditions
+• There must be installed test themes for Active Idle application and
+ Typical configuration must be set as active. View with 0x2000B111 must be
+ available.
+
+Test steps
+
+Test step 1:
+• Input:
+ GetPluginSettings(“plugin uid”)
+• Expected output:
+ Get Settings succeed
+
+*/
+
+// Test step 1 method:
+
+const TUint8 getpluginsettings_1_ts_1_method[] = "GetPluginSettings";
+
+// Test step 1 input:
+
+const TUint8 getpluginsettings_1_ts_1_input[] = {
+// GetPluginSettings(Input)
+// - Version 1.0
+// - Item count (LE)
+10,
+1,0,0,0,
+// - GetPluginSettings(Input)::pluginUid
+// - Variant name
+// - Version 1.0
+// - Semantic ID (LE)
+// - Variant name length (LE)
+// - Variant name descriptor maximum length ( ( variant name length * 4 ) + 2 )
+// - Variant name
+10,
+12,0,0,0,
+9,0,0,0,
+38,
+'p','l','u','g','i','n','U','i','d',
+// - GetPluginSettings(Input)::pluginUid
+// - Variant value
+// - Version 1.0
+// - Variant value type, EVariantTypeDesC
+// - Variant value length (LE)
+// - Variant value descriptor maximum length ( ( variant value length * 4 ) + 2 )
+// - Variant value
+10,
+5,
+10,0,0,0,
+42,
+'0','x','2','0','0','0','B','1','1','1'
+};
+
+// Test step 1 output:
+
+const TUint8 getpluginsettings_1_ts_1_output[] = {
+// GetPluginSettings(Output)
+// - Version 1.0
+// - Item count (LE)
+10,
+1,0,0,0,
+// - GetPluginSettings::settings
+// - Variant name
+// - Version 1.0
+// - Semantic ID (LE)
+// - Variant name length (LE)
+// - Variant name descriptor maximum length ( ( variant name length * 4 ) + 2 )
+// - Variant name
+10,
+12,0,0,0,
+8,0,0,0,
+34,
+'s','e','t','t','i','n','g','s',
+// - GetPluginSettings::settings
+// - Variant value
+// - Version 1.0
+// - Variant value type, EVariantTypeList
+10,
+7,
+// - GetPluginSettings::settings
+// - Version 1.0
+// - Item count (LE)
+10,
+1,0,0,0,
+// - GetPluginSettings::settings
+// - Version 1.0
+// - List item starts
+10,
+0,0,0,0,
+
+// - items[0]
+// - Version 1.0
+// - Variant value type, EVariantTypeMap
+10,
+8,
+// - items[0] map
+// - Version 1.0
+// - Item count (LE)
+10,
+3,0,0,0,
+// - items[0]::itemId
+// - Variant name
+// - Version 1.0
+// - Semantic ID (LE)
+// - Variant name length (LE)
+// - Variant name descriptor maximum length ( ( variant name length * 4 ) + 2 )
+// - Variant name
+10,
+12,0,0,0,
+6,0,0,0,
+26,
+'i','t','e','m','I','d',
+// - items[0]::itemId
+// - Variant value
+// - Version 1.0
+// - Variant value type, EVariantTypeDesC
+// - Variant value length (LE)
+// - Variant value descriptor maximum length ( ( variant value length * 4 ) + 2 )
+// - Variant value (empty)
+10,
+5,
+7,0,0,0,
+30,
+'b','g','c','o','l','o','r',
+// - items[0]::name
+// - Variant name
+// - Version 1.0
+// - Semantic ID (LE)
+// - Variant name length (LE)
+// - Variant name descriptor maximum length ( ( variant name length * 4 ) + 2 )
+// - Variant name
+10,
+12,0,0,0,
+4,0,0,0,
+18,
+'n','a','m','e',
+// - items[0]::name
+// - Variant value
+// - Version 1.0
+// - Variant value type, EVariantTypeDesC
+// - Variant value length (LE)
+// - Variant value descriptor maximum length ( ( variant value length * 4 ) + 2 )
+// - Variant value (empty)
+10,
+5,
+16,0,0,0,
+66,
+'B','a','c','k','g','r','o','u','n','d',' ','c','o','l','o','r',
+// - items[0]::properties
+// - Variant name
+// - Version 1.0
+// - Semantic ID (LE)
+// - Variant name length (LE)
+// - Variant name descriptor maximum length ( ( variant name length * 4 ) + 2 )
+// - Variant name
+10,
+12,0,0,0,
+10,0,0,0,
+42,
+'p','r','o','p','e','r','t','i','e','s',
+// - items[0]::properties
+// - Variant value
+// - Version 1.0
+// - Variant value type, EVariantTypeList
+10,
+7,
+// - items[0]::properties
+// - Version 1.0
+// - Item count (LE)
+10,
+1,0,0,0,
+// - items[0]::properties
+// - Version 1.0
+// - List item starts
+10,
+0,0,0,0,
+// - properties[0]
+// - Version 1.0
+// - Variant value type, EVariantTypeMap
+10,
+8,
+// - properties[0] map
+// - Version 1.0
+// - Item count (LE)
+10,
+2,0,0,0,
+// - prperties[0]::name
+// - Variant name
+// - Version 1.0
+// - Semantic ID (LE)
+// - Variant name length (LE)
+// - Variant name descriptor maximum length ( ( variant name length * 4 ) + 2 )
+// - Variant name
+10,
+12,0,0,0,
+4,0,0,0,
+18,
+'n','a','m','e',
+// - properties[0]::name
+// - Variant value
+// - Version 1.0
+// - Variant value type, EVariantTypeDesC
+// - Variant value length (LE)
+// - Variant value descriptor maximum length ( ( variant value length * 4 ) + 2 )
+// - Variant value
+10,
+5,
+5,0,0,0,
+22,
+'v','a','l','u','e',
+// - prperties[0]::value
+// - Variant name
+// - Version 1.0
+// - Semantic ID (LE)
+// - Variant name length (LE)
+// - Variant name descriptor maximum length ( ( variant name length * 4 ) + 2 )
+// - Variant name
+10,
+12,0,0,0,
+5,0,0,0,
+22,
+'v','a','l','u','e',
+// - properties[0]::value
+// - Variant value
+// - Version 1.0
+// - Variant value type, EVariantTypeDesC
+// - Variant value length (LE)
+// - Variant value descriptor maximum length ( ( variant value length * 4 ) + 2 )
+// - Variant value
+10,
+5,
+9,0,0,0,
+38,
+'2','0','0',',','1','0','0',',','0'
+};
+
+
+
+#endif /*MT_HSPS_GETPLUGINSETTINGS_1_H_*/