homescreensrv_plat/sapi_homescreenplugin/tsrc/hspsconfigurationif/inc/mt_hsps_getpluginlist_8.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(8) test data
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef C_MT_HSPS_GETPLUGINLIST_8_H
       
    20 #define C_MT_HSPS_GETPLUGINLIST_8_H
       
    21 
       
    22 /* 
       
    23 GetPluginList(8)
       
    24 ----------------
       
    25  
       
    26 Test purpose
       
    27 
       
    28 The purpose of this test case is to verify that error is returned when 
       
    29 GetPluginList is called with invalid plugin type
       
    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(“invalid type”)
       
    41 •   Expected output
       
    42     Status element with error code KErrArgument
       
    43 
       
    44 */
       
    45 
       
    46 // Test step 1 method:
       
    47 
       
    48 const TUint8 getpluginlist_8_ts_1_method[] = "GetPluginList";
       
    49 
       
    50 // Test step 1 input:
       
    51 
       
    52 const TUint8 getpluginlist_8_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)::type
       
    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 12,0,0,0,
       
    80 50,
       
    81 'i','n','v','a','l','i','d',' ','t','y','p','e'
       
    82 };
       
    83 
       
    84 // Test step 1 output:
       
    85 
       
    86 const TUint8 getpluginlist_8_ts_1_output[] = {
       
    87 // GetPluginList(Output)
       
    88 // - Version 1.0
       
    89 // - Item count (LE)
       
    90 10,
       
    91 1,0,0,0,
       
    92 // GetPluginList(Output)::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 // - GetPluginList(Input)::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 250,255,255,255
       
   114 };
       
   115 
       
   116 #endif // C_MT_HSPS_GETPLUGINLIST_6_H