homescreensrv_plat/sapi_homescreenplugin/tsrc/hspsconfigurationif/inc/mt_hsps_setpluginsettings_5.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 SetPluginSettings(5) test data
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef C_MT_HSPS_SETPLUGINSETTINGS_5_H
       
    20 #define C_MT_HSPS_SETPLUGINSETTINGS_5_H
       
    21 
       
    22 /* 
       
    23 SetPluginSettings(5)
       
    24 ----------------
       
    25  
       
    26 Test purpose
       
    27 
       
    28 The purpose of this test case is to verify that setting of plugin settings fails 
       
    29 when plug-in id is missing from input params.
       
    30 
       
    31 Pre-conditions
       
    32 •   There must be installed test themes for Active Idle application and 
       
    33     typical configuration must be set as active
       
    34 
       
    35 Test steps
       
    36 
       
    37 Test step 1:
       
    38 •   Input:
       
    39     SetPluginSettings(NULL)
       
    40 •   Expected output:
       
    41     Status not found
       
    42 */
       
    43 
       
    44 
       
    45 // Test step 1 method:
       
    46 
       
    47 const TUint8 setpluginsettings_5_ts_1_method[] = "SetPluginSettings";
       
    48 
       
    49 // Test step 1 input:
       
    50 const TUint8 setpluginsettings_5_ts_1_input[] = {
       
    51 // SetPluginSettings(Input)
       
    52 // - Version 1.0
       
    53 // - Item count (LE)
       
    54 10,
       
    55 2,0,0,0,
       
    56 // - SetPluginSettings(Input)::pluginId
       
    57 //   - Variant name
       
    58 //     - Version 1.0
       
    59 //     - Semantic ID (LE)    
       
    60 //     - Variant name length (LE)
       
    61 //     - Variant name descriptor maximum length ( ( variant name length * 4 ) + 2 )
       
    62 //     - Variant name
       
    63 10,
       
    64 12,0,0,0,
       
    65 8,0,0,0,
       
    66 34,
       
    67 'p','l','u','g','i','n','I','d',
       
    68 // - SetPluginSettings(Input)::pluginId
       
    69 //   - Variant value
       
    70 //     - Version 1.0
       
    71 //     - Variant value type, EVariantTypeDesC
       
    72 //     - Variant value length (LE)
       
    73 //     - Variant value descriptor maximum length ( ( variant value length * 4 ) + 2 )
       
    74 //     - Variant value
       
    75 10,
       
    76 5,
       
    77 1,0,0,0,
       
    78 6,
       
    79 ' ',
       
    80 // - pluginConf::settings
       
    81 //   - Variant name
       
    82 //     - Version 1.0
       
    83 //     - Semantic ID (LE)    
       
    84 //     - Variant name length (LE)
       
    85 //     - Variant name descriptor maximum length ( ( variant name length * 4 ) + 2 )
       
    86 //     - Variant name
       
    87 10,
       
    88 12,0,0,0,
       
    89 8,0,0,0,
       
    90 34,
       
    91 's','e','t','t','i','n','g','s',
       
    92 // - pluginConf::settings
       
    93 //   - Variant value
       
    94 //     - Version 1.0
       
    95 //     - Variant value type, EVariantTypeList
       
    96 10,
       
    97 7,
       
    98 // - pluginConf::settings
       
    99 //   - Version 1.0
       
   100 //   - Item count (LE)
       
   101 10,
       
   102 1,0,0,0,
       
   103 // - pluginConf::settings
       
   104 //   - Version 1.0
       
   105 //   - List item starts
       
   106 10,
       
   107 0,0,0,0,
       
   108 // - pluginConf::settings[0]
       
   109 //   - Version 1.0
       
   110 //   - Variant value type, EVariantTypeMap
       
   111 10,
       
   112 8,
       
   113 // - settings[0] map
       
   114 //   - Version 1.0
       
   115 //   - Item count (LE)
       
   116 10,
       
   117 3,0,0,0,
       
   118 // - settings[0]::itemId
       
   119 //   - Variant name
       
   120 //     - Version 1.0
       
   121 //     - Semantic ID (LE)    
       
   122 //     - Variant name length (LE)
       
   123 //     - Variant name descriptor maximum length ( ( variant name length * 4 ) + 2 )
       
   124 //     - Variant name
       
   125 10,
       
   126 12,0,0,0,
       
   127 6,0,0,0,
       
   128 26,
       
   129 'i','t','e','m','I','d',
       
   130 // - settings[0]::itemId
       
   131 //   - Variant value
       
   132 //     - Version 1.0
       
   133 //     - Variant value type, EVariantTypeDesC
       
   134 //     - Variant value length (LE)
       
   135 //     - Variant value descriptor maximum length ( ( variant value length * 4 ) + 2 )
       
   136 //     - Variant value (empty)
       
   137 10,
       
   138 5,
       
   139 4,0,0,0,
       
   140 18,
       
   141 's','i','z','e',
       
   142 // - settings[0]::name
       
   143 //   - Variant name
       
   144 //     - Version 1.0
       
   145 //     - Semantic ID (LE)    
       
   146 //     - Variant name length (LE)
       
   147 //     - Variant name descriptor maximum length ( ( variant name length * 4 ) + 2 )
       
   148 //     - Variant name
       
   149 10,
       
   150 12,0,0,0,
       
   151 4,0,0,0,
       
   152 18,
       
   153 'n','a','m','e',
       
   154 // - settings[0]::name
       
   155 //   - Variant value
       
   156 //     - Version 1.0
       
   157 //     - Variant value type, EVariantTypeDesC
       
   158 //     - Variant value length (LE)
       
   159 //     - Variant value descriptor maximum length ( ( variant value length * 4 ) + 2 )
       
   160 //     - Variant value (empty)
       
   161 10,
       
   162 5,
       
   163 21,0,0,0,
       
   164 86,
       
   165 '&','q','t','n','_','s','6','0','s','h','o','r','t','c','u','t','_','s','i','z','e',
       
   166 // - settings[0]::properties
       
   167 //   - Variant name
       
   168 //     - Version 1.0
       
   169 //     - Semantic ID (LE)    
       
   170 //     - Variant name length (LE)
       
   171 //     - Variant name descriptor maximum length ( ( variant name length * 4 ) + 2 )
       
   172 //     - Variant name
       
   173 10,
       
   174 12,0,0,0,
       
   175 10,0,0,0,
       
   176 42,
       
   177 'p','r','o','p','e','r','t','i','e','s',
       
   178 // - settings[0]::properties
       
   179 //   - Variant value
       
   180 //     - Version 1.0
       
   181 //     - Variant value type, EVariantTypeList
       
   182 10,
       
   183 7,
       
   184 // - settings[0]::properties
       
   185 //   - Version 1.0
       
   186 //   - Item count (LE)
       
   187 10,
       
   188 3,0,0,0,
       
   189 // - settings[0]::properties
       
   190 //   - Version 1.0
       
   191 //   - List item starts
       
   192 10,
       
   193 0,0,0,0,
       
   194 // - properties[0]
       
   195 //   - Version 1.0
       
   196 //   - Variant value type, EVariantTypeMap
       
   197 10,
       
   198 8,
       
   199 // - properties[0] map
       
   200 //   - Version 1.0
       
   201 //   - Item count (LE)
       
   202 10,
       
   203 2,0,0,0,
       
   204 // - prperties[0]::name
       
   205 //   - Variant name
       
   206 //     - Version 1.0
       
   207 //     - Semantic ID (LE)    
       
   208 //     - Variant name length (LE)
       
   209 //     - Variant name descriptor maximum length ( ( variant name length * 4 ) + 2 )
       
   210 //     - Variant name
       
   211 10,
       
   212 12,0,0,0,
       
   213 4,0,0,0,
       
   214 18,
       
   215 'n','a','m','e',
       
   216 // - properties[0]::name
       
   217 //   - Variant value
       
   218 //     - Version 1.0
       
   219 //     - Variant value type, EVariantTypeDesC
       
   220 //     - Variant value length (LE)
       
   221 //     - Variant value descriptor maximum length ( ( variant value length * 4 ) + 2 )
       
   222 //     - Variant value
       
   223 10,
       
   224 5,
       
   225 6,0,0,0,
       
   226 26,
       
   227 'h','e','i','g','t','h',
       
   228 // - prperties[0]::value
       
   229 //   - Variant name
       
   230 //     - Version 1.0
       
   231 //     - Semantic ID (LE)    
       
   232 //     - Variant name length (LE)
       
   233 //     - Variant name descriptor maximum length ( ( variant name length * 4 ) + 2 )
       
   234 //     - Variant name
       
   235 10,
       
   236 12,0,0,0,
       
   237 5,0,0,0,
       
   238 22,
       
   239 'v','a','l','u','e',
       
   240 // - properties[0]::value
       
   241 //   - Variant value
       
   242 //     - Version 1.0
       
   243 //     - Variant value type, EVariantTypeDesC
       
   244 //     - Variant value length (LE)
       
   245 //     - Variant value descriptor maximum length ( ( variant value length * 4 ) + 2 )
       
   246 //     - Variant value
       
   247 10,
       
   248 5,
       
   249 2,0,0,0,
       
   250 10,
       
   251 '5','0',
       
   252 // - settings[0]::properties
       
   253 //   - Version 1.0
       
   254 //   - List item starts
       
   255 10,
       
   256 0,0,0,0,
       
   257 // - properties[1]
       
   258 //   - Version 1.0
       
   259 //   - Variant value type, EVariantTypeMap
       
   260 10,
       
   261 8,
       
   262 // - properties[1] map
       
   263 //   - Version 1.0
       
   264 //   - Item count (LE)
       
   265 10,
       
   266 2,0,0,0,
       
   267 // - prperties[1]::name
       
   268 //   - Variant name
       
   269 //     - Version 1.0
       
   270 //     - Semantic ID (LE)    
       
   271 //     - Variant name length (LE)
       
   272 //     - Variant name descriptor maximum length ( ( variant name length * 4 ) + 2 )
       
   273 //     - Variant name
       
   274 10,
       
   275 12,0,0,0,
       
   276 4,0,0,0,
       
   277 18,
       
   278 'n','a','m','e',
       
   279 // - properties[1]::name
       
   280 //   - Variant value
       
   281 //     - Version 1.0
       
   282 //     - Variant value type, EVariantTypeDesC
       
   283 //     - Variant value length (LE)
       
   284 //     - Variant value descriptor maximum length ( ( variant value length * 4 ) + 2 )
       
   285 //     - Variant value
       
   286 10,
       
   287 5,
       
   288 5,0,0,0,
       
   289 22,
       
   290 'w','i','d','t','h',
       
   291 // - prperties[1]::value
       
   292 //   - Variant name
       
   293 //     - Version 1.0
       
   294 //     - Semantic ID (LE)    
       
   295 //     - Variant name length (LE)
       
   296 //     - Variant name descriptor maximum length ( ( variant name length * 4 ) + 2 )
       
   297 //     - Variant name
       
   298 10,
       
   299 12,0,0,0,
       
   300 5,0,0,0,
       
   301 22,
       
   302 'v','a','l','u','e',
       
   303 // - properties[1]::value
       
   304 //   - Variant value
       
   305 //     - Version 1.0
       
   306 //     - Variant value type, EVariantTypeDesC
       
   307 //     - Variant value length (LE)
       
   308 //     - Variant value descriptor maximum length ( ( variant value length * 4 ) + 2 )
       
   309 //     - Variant value
       
   310 10,
       
   311 5,
       
   312 3,0,0,0,
       
   313 14,
       
   314 '3','2','0',
       
   315 // - settings[0]::properties
       
   316 //   - Version 1.0
       
   317 //   - List item starts
       
   318 10,
       
   319 0,0,0,0,
       
   320 // - properties[2]
       
   321 //   - Version 1.0
       
   322 //   - Variant value type, EVariantTypeMap
       
   323 10,
       
   324 8,
       
   325 // - properties[2] map
       
   326 //   - Version 1.0
       
   327 //   - Item count (LE)
       
   328 10,
       
   329 2,0,0,0,
       
   330 // - properties[2]::name
       
   331 //   - Variant name
       
   332 //     - Version 1.0
       
   333 //     - Semantic ID (LE)    
       
   334 //     - Variant name length (LE)
       
   335 //     - Variant name descriptor maximum length ( ( variant name length * 4 ) + 2 )
       
   336 //     - Variant name
       
   337 10,
       
   338 12,0,0,0,
       
   339 4,0,0,0,
       
   340 18,
       
   341 'n','a','m','e',
       
   342 // - properties[2]::name
       
   343 //   - Variant value
       
   344 //     - Version 1.0
       
   345 //     - Variant value type, EVariantTypeDesC
       
   346 //     - Variant value length (LE)
       
   347 //     - Variant value descriptor maximum length ( ( variant value length * 4 ) + 2 )
       
   348 //     - Variant value
       
   349 10,
       
   350 5,
       
   351 6,0,0,0,
       
   352 26,
       
   353 'l','o','c','k','e','d',
       
   354 // - properties[2]::value
       
   355 //   - Variant name
       
   356 //     - Version 1.0
       
   357 //     - Semantic ID (LE)    
       
   358 //     - Variant name length (LE)
       
   359 //     - Variant name descriptor maximum length ( ( variant name length * 4 ) + 2 )
       
   360 //     - Variant name
       
   361 10,
       
   362 12,0,0,0,
       
   363 5,0,0,0,
       
   364 22,
       
   365 'v','a','l','u','e',
       
   366 // - properties[2]::value
       
   367 //   - Variant value
       
   368 //     - Version 1.0
       
   369 //     - Variant value type, EVariantTypeDesC
       
   370 //     - Variant value length (LE)
       
   371 //     - Variant value descriptor maximum length ( ( variant value length * 4 ) + 2 )
       
   372 //     - Variant value
       
   373 10,
       
   374 5,
       
   375 2,0,0,0,
       
   376 10,
       
   377 'n','o'
       
   378 };
       
   379 // Test step 1 output:
       
   380 
       
   381 const TUint8 setpluginsettings_5_ts_1_output[] =  {
       
   382 // SetPluginSettings(Output)
       
   383 // - Version 1.0
       
   384 // - Item count (LE)
       
   385 10,
       
   386 1,0,0,0,
       
   387 // - SetPluginSettings(Output)::status
       
   388 //   - Variant name
       
   389 //     - Version 1.0
       
   390 //     - Semantic ID (LE)    
       
   391 //     - Variant name length (LE)
       
   392 //     - Variant name descriptor maximum length ( ( variant name length * 4 ) + 2 )
       
   393 //     - Variant name
       
   394 10,
       
   395 12,0,0,0,
       
   396 6,0,0,0,
       
   397 26,
       
   398 's','t','a','t','u','s',
       
   399 // - SetPluginSettings::status
       
   400 //   - Variant value
       
   401 //     - Version 1.0
       
   402 //     - Variant value type, EVariantTypeTInt32
       
   403 //     - Variant value length (LE)
       
   404 //     - Variant value descriptor maximum length ( ( variant value length * 4 ) + 2 )
       
   405 //     - Variant value
       
   406 10,
       
   407 1,
       
   408 255,255,255,255 // expected out KErrNotFound (-1)
       
   409 };
       
   410 
       
   411 #endif // C_MT_HSPS_SETPLUGINSETTINGS_5_H