homescreensrv_plat/sapi_homescreenplugin/tsrc/hspsconfigurationif/inc/mt_hsps_requestnotify_1.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 RequestNotify(1) test data
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef C_MT_HSPS_REQUESTNOTIFY_1_H
       
    20 #define C_MT_HSPS_REQUESTNOTIFY_1_H
       
    21 
       
    22 /* 
       
    23 RequestNotify(1)
       
    24 ----------------
       
    25  
       
    26 Test purpose
       
    27 
       
    28 The purpose of this test case is to verify that change notify request works
       
    29 
       
    30 Pre-conditions
       
    31 •   There must be installed test themes for Active Idle application and 
       
    32     Typical configuration must be set as active
       
    33 
       
    34 Test steps
       
    35 
       
    36 Test step 1:
       
    37 •   Input:
       
    38     RequestNotify(“”)
       
    39 •   Expected output:
       
    40     Notified added plugin
       
    41 
       
    42 Test step 2:
       
    43 •   Input:
       
    44     GetActiveAppConf()
       
    45 •   Expected output:
       
    46     Active Idle Typical configuration
       
    47 
       
    48 */
       
    49 
       
    50 // Test step 1 method:
       
    51 
       
    52 const TUint8 requestnotify_1_ts_1_method[] = "RequestNotification";
       
    53 
       
    54 // Test step 1 input:
       
    55 
       
    56 const TUint8 requestnotify_1_ts_1_input = 0;
       
    57 // Test step 1 output:
       
    58 
       
    59 const TUint8 requestnotify_1_ts_1_output[] = {
       
    60 // RequestNotification (Output)
       
    61 // - Version 1.0
       
    62 // - Item count (LE)
       
    63 10,
       
    64 1,0,0,0,
       
    65 // - RequestNotification (Output)::notification (map)
       
    66 //   - Variant name
       
    67 //     - Version 1.0
       
    68 //     - Semantic ID (LE)    
       
    69 //     - Variant name length (LE)
       
    70 //     - Variant name descriptor maximum length ( ( variant name length * 4 ) + 2 )
       
    71 //     - Variant name
       
    72 10,
       
    73 12,0,0,0,
       
    74 12,0,0,0,
       
    75 50,
       
    76 'n','o','t','i','f','i','c','a','t','i','o','n',
       
    77 // - Variant value
       
    78 //   - Version 1.0
       
    79 //   - Variant value type, EVariantTypeMap
       
    80 10,
       
    81 8,
       
    82 // - Notification
       
    83 //   - Version 1.0
       
    84 //   - Item count (LE)
       
    85 10,
       
    86 6,0,0,0,
       
    87 // - Notification(Output)::event
       
    88 //   - Variant name
       
    89 //     - Version 1.0
       
    90 //     - Semantic ID (LE)    
       
    91 //     - Variant name length (LE)
       
    92 //     - Variant name descriptor maximum length ( ( variant name length * 4 ) + 2 )
       
    93 //     - Variant name
       
    94 10,
       
    95 12,0,0,0,
       
    96 5,0,0,0,
       
    97 22,
       
    98 'e','v','e','n','t',
       
    99 // - RequestNotification(Output)::event
       
   100 //   - Variant value
       
   101 //     - Version 1.0
       
   102 //     - Variant value type, EVariantTypeDesC
       
   103 //     - Variant value length (LE)
       
   104 //     - Variant value descriptor maximum length ( ( variant value length * 4 ) + 2 )
       
   105 //     - Variant value
       
   106 10,
       
   107 5,
       
   108 13,0,0,0,
       
   109 54,
       
   110 'P','l','u','g','i','n','R','e','m','o','v','e','d',
       
   111 // - Notification(Output)::appConfUid
       
   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 10,0,0,0,
       
   121 42,
       
   122 'a','p','p','C','o','n','f','U','i','d',
       
   123 // - RequestNotification(Output)::AppConfUid
       
   124 //   - Variant value
       
   125 //     - Version 1.0
       
   126 //     - Variant value type, EVariantTypeDesC
       
   127 //     - Variant value length (LE)
       
   128 //     - Variant value descriptor maximum length ( ( variant value length * 4 ) + 2 )
       
   129 //     - Variant value
       
   130 10,
       
   131 5,
       
   132 10,0,0,0,
       
   133 42,
       
   134 '0','x','2','0','0','0','b','1','1','0',
       
   135 // - Notification(Output)::origUid
       
   136 //   - Variant name
       
   137 //     - Version 1.0
       
   138 //     - Semantic ID (LE)    
       
   139 //     - Variant name length (LE)
       
   140 //     - Variant name descriptor maximum length ( ( variant name length * 4 ) + 2 )
       
   141 //     - Variant name
       
   142 10,
       
   143 12,0,0,0,
       
   144 7,0,0,0,
       
   145 30,
       
   146 'o','r','i','g','U','i','d',
       
   147 // - RequestNotification(Output)::origUid
       
   148 //   - Variant value
       
   149 //     - Version 1.0
       
   150 //     - Variant value type, EVariantTypeDesC
       
   151 //     - Variant value length (LE)
       
   152 //     - Variant value descriptor maximum length ( ( variant value length * 4 ) + 2 )
       
   153 //     - Variant value
       
   154 10,
       
   155 5,
       
   156 10,0,0,0,
       
   157 42,
       
   158 '0','x','2','0','0','0','0','f','b','1',
       
   159 // - Notification(Output)::pluginName
       
   160 //   - Variant name
       
   161 //     - Version 1.0
       
   162 //     - Semantic ID (LE)    
       
   163 //     - Variant name length (LE)
       
   164 //     - Variant name descriptor maximum length ( ( variant name length * 4 ) + 2 )
       
   165 //     - Variant name
       
   166 10,
       
   167 12,0,0,0,
       
   168 4,0,0,0,
       
   169 18,
       
   170 'n','a','m','e',
       
   171 // - Notification(Output)::pluginName
       
   172 //   - Variant value
       
   173 //     - Version 1.0
       
   174 //     - Variant value type, EVariantTypeDesC
       
   175 //     - Variant value length (LE)
       
   176 //     - Variant value descriptor maximum length ( ( variant value length * 4 ) + 2 )
       
   177 //     - Variant value
       
   178 10,
       
   179 5,
       
   180 16,0,0,0,
       
   181 66,
       
   182 'T','y','p','i','c','a','l',' ','-',' ','W','i','d','g','e','t',
       
   183 // - RequestNotification(Output)::pluginUid
       
   184 //   - Variant name
       
   185 //     - Version 1.0
       
   186 //     - Semantic ID (LE)    
       
   187 //     - Variant name length (LE)
       
   188 //     - Variant name descriptor maximum length ( ( variant name length * 4 ) + 2 )
       
   189 //     - Variant name
       
   190 10,
       
   191 12,0,0,0,
       
   192 9,0,0,0,
       
   193 38,
       
   194 'p','l','u','g','i','n','U','i','d',
       
   195 // - RequestNotification(Output)::pluginUid
       
   196 //   - Variant value
       
   197 //     - Version 1.0
       
   198 //     - Variant value type, EVariantTypeDesC
       
   199 //     - Variant value length (LE)
       
   200 //     - Variant value descriptor maximum length ( ( variant value length * 4 ) + 2 )
       
   201 //     - Variant value
       
   202 10,
       
   203 5,
       
   204 10,0,0,0,
       
   205 42,
       
   206 '0','x','2','0','0','0','b','1','2','0',
       
   207 // -  Notification(Output)::pluginIds
       
   208 //   - Variant name
       
   209 //     - Version 1.0
       
   210 //     - Semantic ID (LE)    
       
   211 //     - Variant name length (LE)
       
   212 //     - Variant name descriptor maximum length ( ( variant name length * 4 ) + 2 )
       
   213 //     - Variant name
       
   214 10,
       
   215 12,0,0,0,
       
   216 9,0,0,0,
       
   217 38,
       
   218 'p','l','u','g','i','n','I','d','s',
       
   219 // - Notification::pluginIds
       
   220 //   - Variant value
       
   221 //     - Version 1.0
       
   222 //     - Variant value type, EVariantTypeList
       
   223 10,
       
   224 7,
       
   225 // - Notification::pluginIds
       
   226 //   - Version 1.0
       
   227 //   - Item count (LE)
       
   228 10,
       
   229 1,0,0,0,
       
   230 // Notification::pluginIds
       
   231 // - Version 1.0
       
   232 // - List item starts
       
   233 10,
       
   234 0,0,0,0,
       
   235 // -  Notification::pluginIds[0]
       
   236 //   - Variant value
       
   237 //     - Version 1.0
       
   238 //     - Variant value type, EVariantTypeDesC
       
   239 //     - Variant value length (LE)
       
   240 //     - Variant value descriptor maximum length ( ( variant value length * 4 ) + 2 )
       
   241 //     - Variant value
       
   242 10,
       
   243 5,
       
   244 1,0,0,0,
       
   245 6,
       
   246 '8'
       
   247 };
       
   248 
       
   249 const TInt requestnotify_1_ts_1_trigger = 1;
       
   250 
       
   251 #endif // C_MT_HSPS_REMOVEPLUGIN_1_H