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