homescreensrv_plat/sapi_homescreenplugin/tsrc/hspsconfigurationif/inc/mt_hsps_getpluginsettings_2.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(2) test data
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef MT_HSPS_GETPLUGINSETTINGS_2_H_
       
    20 #define MT_HSPS_GETPLUGINSETTINGS_2_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 no plugin found (invalid pluginuid).
       
    30 
       
    31 Pre-conditions
       
    32 •   There must be installed test themes for Active Idle application and 
       
    33     Typical configuration must be set as active. Plugin with 0x00001111 
       
    34     should not be available.
       
    35 
       
    36 Test steps
       
    37 
       
    38 Test step 1:
       
    39 •   Input:
       
    40     GetPluginSettings(“plugin uid”)
       
    41 •   Expected output:
       
    42     Status: not found
       
    43 
       
    44 */
       
    45 
       
    46 // Test step 1 method:
       
    47 
       
    48 const TUint8 getpluginsettings_2_ts_1_method[] = "GetPluginSettings";
       
    49 
       
    50 // Test step 1 input:
       
    51 
       
    52 const TUint8 getpluginsettings_2_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','0','0','0','0','1','1','1','1'
       
    82 };
       
    83 
       
    84 // Test step 1 output:
       
    85 
       
    86 const TUint8 getpluginsettings_2_ts_1_output[] =  {
       
    87 // GetPluginSettings(Output)
       
    88 // - Version 1.0
       
    89 // - Item count (LE)
       
    90 10,
       
    91 1,0,0,0,
       
    92 // - GetPluginSettings::status
       
    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 6,0,0,0,
       
   102 26,
       
   103 's','t','a','t','u','s',
       
   104 // - GetPluginSettings::status
       
   105 //   - Variant value
       
   106 //     - Version 1.0
       
   107 //     - Variant value type, EVariantTypeTInt32
       
   108 //     - Variant value length (LE)
       
   109 //     - Variant value descriptor maximum length ( ( variant value length * 4 ) + 2 )
       
   110 //     - Variant value
       
   111 10,
       
   112 1,
       
   113 255,255,255,255 // expected out KErrNotFound (-1)
       
   114 };
       
   115 
       
   116 
       
   117 
       
   118 #endif /*MT_HSPS_GETPLUGINSETTINGS_2_H_*/