homescreensrv_plat/sapi_homescreenplugin/tsrc/hspsconfigurationif/inc/mt_hsps_getplugins_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 GetPlugins(5) test data
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef C_MT_HSPS_GETPLUGINS_5_H
       
    20 #define C_MT_HSPS_GETPLUGINS_5_H
       
    21 
       
    22 /* 
       
    23 GetPlugins(5)
       
    24 ----------------
       
    25  
       
    26 Test purpose
       
    27 The purpose of this test case is to verify that GetPlugins works properly if 
       
    28 widget type is invalid.
       
    29 
       
    30 Pre-conditions
       
    31 •   There must be installed test themes for Active Idle application
       
    32 
       
    33 Test steps
       
    34 Test step 1:
       
    35 •   Input:
       
    36     GetPlugins(“0x998”, “clock”)
       
    37 •   Expected output
       
    38     Error err argument
       
    39 */
       
    40 
       
    41 // Test step 1 method:
       
    42 
       
    43 const TUint8 getplugins_5_ts_1_method[] = "GetPlugins";
       
    44 
       
    45 // Test step 1 input:
       
    46 
       
    47 const TUint8 getplugins_5_ts_1_input[] = {
       
    48 // GetPlugins(Input)
       
    49 // - Version 1.0
       
    50 // - Item count (LE)
       
    51 10,
       
    52 2,0,0,0,
       
    53 // - GetPlugins(Input)::interface
       
    54 //   - Variant name
       
    55 //     - Version 1.0
       
    56 //     - Semantic ID (LE)    
       
    57 //     - Variant name length (LE)
       
    58 //     - Variant name descriptor maximum length ( ( variant name length * 4 ) + 2 )
       
    59 //     - Variant name
       
    60 10,
       
    61 12,0,0,0,
       
    62 9,0,0,0,
       
    63 38,
       
    64 'i','n','t','e','r','f','a','c','e',
       
    65 // - GetPlugins(Input)::interface
       
    66 //   - Variant value
       
    67 //     - Version 1.0
       
    68 //     - Variant value type, EVariantTypeDesC
       
    69 //     - Variant value length (LE)
       
    70 //     - Variant value descriptor maximum length ( ( variant value length * 4 ) + 2 )
       
    71 //     - Variant value
       
    72 10,
       
    73 5,
       
    74 5,0,0,0,
       
    75 22,
       
    76 '0','x','9','9','8',
       
    77 // - GetPlugins(Input)::type
       
    78 //   - Variant name
       
    79 //     - Version 1.0
       
    80 //     - Semantic ID (LE)    
       
    81 //     - Variant name length (LE)
       
    82 //     - Variant name descriptor maximum length ( ( variant name length * 4 ) + 2 )
       
    83 //     - Variant name
       
    84 10,
       
    85 12,0,0,0,
       
    86 4,0,0,0,
       
    87 18,
       
    88 't','y','p','e',
       
    89 // - GetPlugins(Input)::type
       
    90 //   - Variant value
       
    91 //     - Version 1.0
       
    92 //     - Variant value type, EVariantTypeDesC
       
    93 //     - Variant value length (LE)
       
    94 //     - Variant value descriptor maximum length ( ( variant value length * 4 ) + 2 )
       
    95 //     - Variant value
       
    96 10,
       
    97 5,
       
    98 5,0,0,0,
       
    99 22,
       
   100 'c','l','o','c','k'
       
   101 };
       
   102 
       
   103 // Test step 1 output:
       
   104 
       
   105 const TUint8 getplugins_5_ts_1_output[] = {
       
   106 // GetPlugins(Output)
       
   107 // - Version 1.0
       
   108 // - Item count (LE)
       
   109 10,
       
   110 1,0,0,0,
       
   111 // - SetPluginSettings(Output)::status
       
   112 //   - Variant name
       
   113 //     - Version 1.0
       
   114 //     - Semantic ID (LE)    
       
   115 //     - Variant name length (LE)
       
   116 //     - Variant name descriptor maximum length ( ( variant name length * 4 ) + 2 )
       
   117 //     - Variant name
       
   118 10,
       
   119 12,0,0,0,
       
   120 6,0,0,0,
       
   121 26,
       
   122 's','t','a','t','u','s',
       
   123 // - SetPluginSettings::status
       
   124 //   - Variant value
       
   125 //     - Version 1.0
       
   126 //     - Variant value type, EVariantTypeTInt32
       
   127 //     - Variant value length (LE)
       
   128 //     - Variant value descriptor maximum length ( ( variant value length * 4 ) + 2 )
       
   129 //     - Variant value
       
   130 10,
       
   131 1,
       
   132 250,255,255,255 // expected error
       
   133 };
       
   134 
       
   135 #endif // C_MT_HSPS_GETPLUGINS_5_H
       
   136