homescreensrv_plat/sapi_homescreenplugin/tsrc/hspsconfigurationif/inc/mt_hsps_getpluginsettings_1.h
changeset 0 79c6a41cd166
equal deleted inserted replaced
-1:000000000000 0:79c6a41cd166
       
     1 /*
       
     2 * Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:  Test case GetPluginSettings(1) test data
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef MT_HSPS_GETPLUGINSETTINGS_1_H_
       
    20 #define MT_HSPS_GETPLUGINSETTINGS_1_H_
       
    21 
       
    22 /* 
       
    23 GetPluginSettings(1)
       
    24 ----------------
       
    25  
       
    26 Test purpose
       
    27 
       
    28 The purpose of this test case is to verify that get plugin setting 
       
    29 works properly when settings for plugin uid can be found.
       
    30 
       
    31 Pre-conditions
       
    32 •   There must be installed test themes for Active Idle application and 
       
    33     Typical configuration must be set as active. View with 0x2000B111 must be
       
    34     available. 
       
    35 
       
    36 Test steps
       
    37 
       
    38 Test step 1:
       
    39 •   Input:
       
    40     GetPluginSettings(“plugin uid”)
       
    41 •   Expected output:
       
    42     Get Settings succeed
       
    43 
       
    44 */
       
    45 
       
    46 // Test step 1 method:
       
    47 
       
    48 const TUint8 getpluginsettings_1_ts_1_method[] = "GetPluginSettings";
       
    49 
       
    50 // Test step 1 input:
       
    51 
       
    52 const TUint8 getpluginsettings_1_ts_1_input[] = {
       
    53 // GetPluginSettings(Input)
       
    54 // - Version 1.0
       
    55 // - Item count (LE)
       
    56 10,
       
    57 1,0,0,0,
       
    58 // - GetPluginSettings(Input)::pluginUid
       
    59 //   - Variant name
       
    60 //     - Version 1.0
       
    61 //     - Semantic ID (LE)    
       
    62 //     - Variant name length (LE)
       
    63 //     - Variant name descriptor maximum length ( ( variant name length * 4 ) + 2 )
       
    64 //     - Variant name
       
    65 10,
       
    66 12,0,0,0,
       
    67 9,0,0,0,
       
    68 38,
       
    69 'p','l','u','g','i','n','U','i','d',
       
    70 // - GetPluginSettings(Input)::pluginUid
       
    71 //   - Variant value
       
    72 //     - Version 1.0
       
    73 //     - Variant value type, EVariantTypeDesC
       
    74 //     - Variant value length (LE)
       
    75 //     - Variant value descriptor maximum length ( ( variant value length * 4 ) + 2 )
       
    76 //     - Variant value
       
    77 10,
       
    78 5,
       
    79 10,0,0,0,
       
    80 42,
       
    81 '0','x','2','0','0','0','B','1','1','1'
       
    82 };
       
    83 
       
    84 // Test step 1 output:
       
    85 
       
    86 const TUint8 getpluginsettings_1_ts_1_output[] =  {
       
    87 // GetPluginSettings(Output)
       
    88 // - Version 1.0
       
    89 // - Item count (LE)
       
    90 10,
       
    91 1,0,0,0,
       
    92 // - GetPluginSettings::settings
       
    93 //   - Variant name
       
    94 //     - Version 1.0
       
    95 //     - Semantic ID (LE)    
       
    96 //     - Variant name length (LE)
       
    97 //     - Variant name descriptor maximum length ( ( variant name length * 4 ) + 2 )
       
    98 //     - Variant name
       
    99 10,
       
   100 12,0,0,0,
       
   101 8,0,0,0,
       
   102 34,
       
   103 's','e','t','t','i','n','g','s',
       
   104 // - GetPluginSettings::settings
       
   105 //   - Variant value
       
   106 //     - Version 1.0
       
   107 //     - Variant value type, EVariantTypeList
       
   108 10,
       
   109 7,
       
   110 // - GetPluginSettings::settings
       
   111 //   - Version 1.0
       
   112 //   - Item count (LE)
       
   113 10,
       
   114 1,0,0,0,
       
   115 // - GetPluginSettings::settings
       
   116 //   - Version 1.0
       
   117 //   - List item starts
       
   118 10,
       
   119 0,0,0,0,
       
   120 
       
   121 // - items[0]
       
   122 //   - Version 1.0
       
   123 //   - Variant value type, EVariantTypeMap
       
   124 10,
       
   125 8,
       
   126 // - items[0] map
       
   127 //   - Version 1.0
       
   128 //   - Item count (LE)
       
   129 10,
       
   130 3,0,0,0,
       
   131 // - items[0]::itemId
       
   132 //   - Variant name
       
   133 //     - Version 1.0
       
   134 //     - Semantic ID (LE)    
       
   135 //     - Variant name length (LE)
       
   136 //     - Variant name descriptor maximum length ( ( variant name length * 4 ) + 2 )
       
   137 //     - Variant name
       
   138 10,
       
   139 12,0,0,0,
       
   140 6,0,0,0,
       
   141 26,
       
   142 'i','t','e','m','I','d',
       
   143 // - items[0]::itemId
       
   144 //   - Variant value
       
   145 //     - Version 1.0
       
   146 //     - Variant value type, EVariantTypeDesC
       
   147 //     - Variant value length (LE)
       
   148 //     - Variant value descriptor maximum length ( ( variant value length * 4 ) + 2 )
       
   149 //     - Variant value (empty)
       
   150 10,
       
   151 5,
       
   152 7,0,0,0,
       
   153 30,
       
   154 'b','g','c','o','l','o','r',
       
   155 // - items[0]::name
       
   156 //   - Variant name
       
   157 //     - Version 1.0
       
   158 //     - Semantic ID (LE)    
       
   159 //     - Variant name length (LE)
       
   160 //     - Variant name descriptor maximum length ( ( variant name length * 4 ) + 2 )
       
   161 //     - Variant name
       
   162 10,
       
   163 12,0,0,0,
       
   164 4,0,0,0,
       
   165 18,
       
   166 'n','a','m','e',
       
   167 // - items[0]::name
       
   168 //   - Variant value
       
   169 //     - Version 1.0
       
   170 //     - Variant value type, EVariantTypeDesC
       
   171 //     - Variant value length (LE)
       
   172 //     - Variant value descriptor maximum length ( ( variant value length * 4 ) + 2 )
       
   173 //     - Variant value (empty)
       
   174 10,
       
   175 5,
       
   176 16,0,0,0,
       
   177 66,
       
   178 'B','a','c','k','g','r','o','u','n','d',' ','c','o','l','o','r',
       
   179 // - items[0]::properties
       
   180 //   - Variant name
       
   181 //     - Version 1.0
       
   182 //     - Semantic ID (LE)    
       
   183 //     - Variant name length (LE)
       
   184 //     - Variant name descriptor maximum length ( ( variant name length * 4 ) + 2 )
       
   185 //     - Variant name
       
   186 10,
       
   187 12,0,0,0,
       
   188 10,0,0,0,
       
   189 42,
       
   190 'p','r','o','p','e','r','t','i','e','s',
       
   191 // - items[0]::properties
       
   192 //   - Variant value
       
   193 //     - Version 1.0
       
   194 //     - Variant value type, EVariantTypeList
       
   195 10,
       
   196 7,
       
   197 // - items[0]::properties
       
   198 //   - Version 1.0
       
   199 //   - Item count (LE)
       
   200 10,
       
   201 1,0,0,0,
       
   202 // - items[0]::properties
       
   203 //   - Version 1.0
       
   204 //   - List item starts
       
   205 10,
       
   206 0,0,0,0,
       
   207 // - properties[0]
       
   208 //   - Version 1.0
       
   209 //   - Variant value type, EVariantTypeMap
       
   210 10,
       
   211 8,
       
   212 // - properties[0] map
       
   213 //   - Version 1.0
       
   214 //   - Item count (LE)
       
   215 10,
       
   216 2,0,0,0,
       
   217 // - prperties[0]::name
       
   218 //   - Variant name
       
   219 //     - Version 1.0
       
   220 //     - Semantic ID (LE)    
       
   221 //     - Variant name length (LE)
       
   222 //     - Variant name descriptor maximum length ( ( variant name length * 4 ) + 2 )
       
   223 //     - Variant name
       
   224 10,
       
   225 12,0,0,0,
       
   226 4,0,0,0,
       
   227 18,
       
   228 'n','a','m','e',
       
   229 // - properties[0]::name
       
   230 //   - Variant value
       
   231 //     - Version 1.0
       
   232 //     - Variant value type, EVariantTypeDesC
       
   233 //     - Variant value length (LE)
       
   234 //     - Variant value descriptor maximum length ( ( variant value length * 4 ) + 2 )
       
   235 //     - Variant value
       
   236 10,
       
   237 5,
       
   238 5,0,0,0,
       
   239 22,
       
   240 'v','a','l','u','e',
       
   241 // - prperties[0]::value
       
   242 //   - Variant name
       
   243 //     - Version 1.0
       
   244 //     - Semantic ID (LE)    
       
   245 //     - Variant name length (LE)
       
   246 //     - Variant name descriptor maximum length ( ( variant name length * 4 ) + 2 )
       
   247 //     - Variant name
       
   248 10,
       
   249 12,0,0,0,
       
   250 5,0,0,0,
       
   251 22,
       
   252 'v','a','l','u','e',
       
   253 // - properties[0]::value
       
   254 //   - Variant value
       
   255 //     - Version 1.0
       
   256 //     - Variant value type, EVariantTypeDesC
       
   257 //     - Variant value length (LE)
       
   258 //     - Variant value descriptor maximum length ( ( variant value length * 4 ) + 2 )
       
   259 //     - Variant value
       
   260 10,
       
   261 5,
       
   262 9,0,0,0,
       
   263 38,
       
   264 '2','0','0',',','1','0','0',',','0'
       
   265 };
       
   266 
       
   267 
       
   268 
       
   269 #endif /*MT_HSPS_GETPLUGINSETTINGS_1_H_*/