homescreensrv_plat/sapi_homescreenplugin/tsrc/hspsconfigurationif/inc/mt_hsps_getpluginlist_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 GetPluginList(5) test data
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef C_MT_HSPS_GETPLUGINLIST_5_H
       
    20 #define C_MT_HSPS_GETPLUGINLIST_5_H
       
    21 
       
    22 /* 
       
    23 GetPluginList(5)
       
    24 ----------------
       
    25  
       
    26 Test purpose
       
    27 
       
    28 The purpose of this test case is to verify that empty plugin list is returned 
       
    29 when GetPluginList is called with plugin’s id which does not contain any 
       
    30 plugins
       
    31 
       
    32 Pre-conditions
       
    33 
       
    34 There must be installed test themes for Active Idle application and Typical 
       
    35 configuration must be set as active
       
    36 
       
    37 Test steps
       
    38 
       
    39 Test step 1:
       
    40 •   Input:
       
    41     GetPluginList(“Typical widget conf”)
       
    42 •   Expected output
       
    43     Empty plugin list
       
    44 
       
    45 */
       
    46 
       
    47 // Test step 1 method:
       
    48 
       
    49 const TUint8 getpluginlist_5_ts_1_method[] = "GetPluginList";
       
    50 
       
    51 // Test step 1 input:
       
    52 
       
    53 const TUint8 getpluginlist_5_ts_1_input[] = {
       
    54 // GetPluginList(Input)
       
    55 // - Version 1.0
       
    56 // - Item count (LE)
       
    57 10,
       
    58 1,0,0,0,
       
    59 // - GetPluginList(Input)::pluginId
       
    60 //   - Variant name
       
    61 //     - Version 1.0
       
    62 //     - Semantic ID (LE)    
       
    63 //     - Variant name length (LE)
       
    64 //     - Variant name descriptor maximum length ( ( variant name length * 4 ) + 2 )
       
    65 //     - Variant name
       
    66 10,
       
    67 12,0,0,0,
       
    68 8,0,0,0,
       
    69 34,
       
    70 'p','l','u','g','i','n','I','d',
       
    71 // - GetPluginList(Input)::pluginId
       
    72 //   - Variant value
       
    73 //     - Version 1.0
       
    74 //     - Variant value type, EVariantTypeDesC
       
    75 //     - Variant value length (LE)
       
    76 //     - Variant value descriptor maximum length ( ( variant value length * 4 ) + 2 )
       
    77 //     - Variant value
       
    78 10,
       
    79 5,
       
    80 1,0,0,0,
       
    81 6,
       
    82 '2'
       
    83 };
       
    84 
       
    85 // Test step 1 output:
       
    86 
       
    87 const TUint8 getpluginlist_5_ts_1_output[] = {
       
    88 // GetPluginList(Output)
       
    89 // - Version 1.0
       
    90 // - Item count (LE)
       
    91 10,
       
    92 1,0,0,0,
       
    93 // GetPluginList(Output)::plugins
       
    94 // - Variant name
       
    95 //   - Version 1.0
       
    96 //   - Semantic ID (LE)    
       
    97 //   - Variant name length (LE)
       
    98 //   - Variant name descriptor maximum length ( ( variant name length * 4 ) + 2 )
       
    99 //   - Variant name
       
   100 10,
       
   101 12,0,0,0,
       
   102 7,0,0,0,
       
   103 30,
       
   104 'p','l','u','g','i','n','s',
       
   105 // GetPluginList(Output)::plugins
       
   106 // - Variant value
       
   107 //   - Version 1.0
       
   108 //   - Variant value type, EVariantTypeList
       
   109 10,
       
   110 7,
       
   111 // GetPluginList(Output)::plugins
       
   112 // - Version 1.0
       
   113 // - Item count (LE)
       
   114 10,
       
   115 0,0,0,0
       
   116 };
       
   117 
       
   118 #endif // C_MT_HSPS_GETPLUGINLIST_5_H