homescreensrv_plat/sapi_homescreenplugin/tsrc/hspsconfigurationif/inc/mt_hsps_getpluginlist_7.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(7) test data
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef C_MT_HSPS_GETPLUGINLIST_7_H
       
    20 #define C_MT_HSPS_GETPLUGINLIST_7_H
       
    21 
       
    22 /* 
       
    23 GetPluginList(7)
       
    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 type not found from configuration
       
    30 
       
    31 Pre-conditions
       
    32 
       
    33 There must be installed test themes for Active Idle application and Operator 
       
    34 configuration must be set as active
       
    35 
       
    36 Test steps
       
    37 
       
    38 Test step 1:
       
    39 •   Input:
       
    40     GetPluginList(“widget”)
       
    41 •   Expected output
       
    42     Empty plugin list
       
    43 
       
    44 */
       
    45 
       
    46 // Test step 1 method:
       
    47 
       
    48 const TUint8 getpluginlist_7_ts_1_method[] = "GetPluginList";
       
    49 
       
    50 // Test step 1 input:
       
    51 
       
    52 const TUint8 getpluginlist_7_ts_1_input[] = {
       
    53 // GetPluginList(Input)
       
    54 // - Version 1.0
       
    55 // - Item count (LE)
       
    56 10,
       
    57 1,0,0,0,
       
    58 // - GetPluginList(Input)::type
       
    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 4,0,0,0,
       
    68 18,
       
    69 't','y','p','e',
       
    70 // - GetPluginList(Input)::pluginId
       
    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 6,0,0,0,
       
    80 26,
       
    81 'w','i','d','g','e','t'
       
    82 };
       
    83 
       
    84 // Test step 1 output:
       
    85 
       
    86 const TUint8 getpluginlist_7_ts_1_output[] = {
       
    87 // GetPluginList(Output)
       
    88 // - Version 1.0
       
    89 // - Item count (LE)
       
    90 10,
       
    91 1,0,0,0,
       
    92 // GetPluginList(Output)::plugins
       
    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 7,0,0,0,
       
   102 30,
       
   103 'p','l','u','g','i','n','s',
       
   104 // GetPluginList(Output)::plugins
       
   105 // - Variant value
       
   106 //   - Version 1.0
       
   107 //   - Variant value type, EVariantTypeList
       
   108 10,
       
   109 7,
       
   110 // GetPluginList(Output)::plugins
       
   111 // - Version 1.0
       
   112 // - Item count (LE)
       
   113 10,
       
   114 0,0,0,0
       
   115 };
       
   116 
       
   117 #endif // C_MT_HSPS_GETPLUGINLIST_7_H