homescreensrv_plat/sapi_homescreenplugin/tsrc/hspsconfigurationif/inc/mt_hsps_getpluginconf_3.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 GetPluginConf(3) test data
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef C_MT_HSPS_GETPLUGINCONF_3_H
       
    20 #define C_MT_HSPS_GETPLUGINCONF_3_H
       
    21 
       
    22 /* 
       
    23 GetPluginConf(3)
       
    24 ----------------
       
    25  
       
    26 Test purpose
       
    27 
       
    28 The purpose of this test case is to verify that GetPluginConf method fails when 
       
    29 mandatory plugin id field is missing.
       
    30 
       
    31 Pre-Conditions
       
    32 There must be installed test themes for Active Idle application and Minimal 
       
    33 configuration must be set as active.
       
    34 
       
    35 Test steps
       
    36 
       
    37 Test step 1:
       
    38 •   Input:
       
    39     GetPluginConf(“plugin id is missing”)
       
    40 •   Expected output:
       
    41     Status err argument
       
    42 
       
    43 */
       
    44 
       
    45 // Test step 1 method:
       
    46 const TUint8 getpluginconf_3_ts_1_method[] = "GetPluginConf";
       
    47 
       
    48 // Test step 2 input:
       
    49 const TUint8 getpluginconf_3_ts_1_input[] = {
       
    50 // GetPluginConf(Input)
       
    51 // - Version 1.0
       
    52 // - Item count (LE)
       
    53 10,
       
    54 1,0,0,0,
       
    55 // - GetPluginConf(Input)::pluginId
       
    56 //   - Variant name
       
    57 //     - Version 1.0
       
    58 //     - Semantic ID (LE)    
       
    59 //     - Variant name length (LE)
       
    60 //     - Variant name descriptor maximum length ( ( variant name length * 4 ) + 2 )
       
    61 //     - Variant name
       
    62 10,
       
    63 12,0,0,0,
       
    64 8,0,0,0,
       
    65 34
       
    66 };
       
    67 
       
    68 // Test step 2 output:
       
    69 
       
    70 const TUint8 getpluginconf_3_ts_1_output[] = {
       
    71 // GetPluginConf(Output)
       
    72 // - Version 1.0
       
    73 // - Item count (LE)
       
    74 10,
       
    75 1,0,0,0,
       
    76 // - SetPluginSettings(Output)::status
       
    77 //   - Variant name
       
    78 //     - Version 1.0
       
    79 //     - Semantic ID (LE)    
       
    80 //     - Variant name length (LE)
       
    81 //     - Variant name descriptor maximum length ( ( variant name length * 4 ) + 2 )
       
    82 //     - Variant name
       
    83 10,
       
    84 12,0,0,0,
       
    85 6,0,0,0,
       
    86 26,
       
    87 's','t','a','t','u','s',
       
    88 // - SetPluginSettings::status
       
    89 //   - Variant value
       
    90 //     - Version 1.0
       
    91 //     - Variant value type, EVariantTypeTInt32
       
    92 //     - Variant value length (LE)
       
    93 //     - Variant value descriptor maximum length ( ( variant value length * 4 ) + 2 )
       
    94 //     - Variant value
       
    95 10,
       
    96 1,
       
    97 250,255,255,255 // expected error
       
    98 };
       
    99 
       
   100 #endif // C_MT_HSPS_GETPLUGINCONF_2_H