|
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_3_H |
|
20 #define C_MT_HSPS_REQUESTNOTIFY_3_H |
|
21 |
|
22 /* |
|
23 RequestNotify(3) |
|
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_3_ts_1_method[] = "RequestNotification"; |
|
53 |
|
54 // Test step 1 input: |
|
55 |
|
56 const TUint8 requestnotify_3_ts_1_input = 0; |
|
57 // Test step 1 output: |
|
58 |
|
59 const TUint8 requestnotify_3_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,//6,0,0,0, |
|
75 50,//26, |
|
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 // - Notification(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 15,0,0,0, |
|
109 62, |
|
110 'P','l','u','g','i','n','I','n','s','t','a','l','l','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 // - Notification(Output)::pluginUid |
|
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 0,0,0,0, |
|
133 2, |
|
134 // - Notification(Output)::origUid |
|
135 // - Variant name |
|
136 // - Version 1.0 |
|
137 // - Semantic ID (LE) |
|
138 // - Variant name length (LE) |
|
139 // - Variant name descriptor maximum length ( ( variant name length * 4 ) + 2 ) |
|
140 // - Variant name |
|
141 10, |
|
142 12,0,0,0, |
|
143 7,0,0,0, |
|
144 30, |
|
145 'o','r','i','g','U','i','d', |
|
146 // - RequestNotification(Output)::origUid |
|
147 // - Variant value |
|
148 // - Version 1.0 |
|
149 // - Variant value type, EVariantTypeDesC |
|
150 // - Variant value length (LE) |
|
151 // - Variant value descriptor maximum length ( ( variant value length * 4 ) + 2 ) |
|
152 // - Variant value |
|
153 10, |
|
154 5, |
|
155 0,0,0,0, |
|
156 2, |
|
157 // - Notification(Output)::pluginName |
|
158 // - Variant name |
|
159 // - Version 1.0 |
|
160 // - Semantic ID (LE) |
|
161 // - Variant name length (LE) |
|
162 // - Variant name descriptor maximum length ( ( variant name length * 4 ) + 2 ) |
|
163 // - Variant name |
|
164 10, |
|
165 12,0,0,0, |
|
166 4,0,0,0, |
|
167 18, |
|
168 'n','a','m','e', |
|
169 // - Notification(Output)::event |
|
170 // - Variant value |
|
171 // - Version 1.0 |
|
172 // - Variant value type, EVariantTypeDesC |
|
173 // - Variant value length (LE) |
|
174 // - Variant value descriptor maximum length ( ( variant value length * 4 ) + 2 ) |
|
175 // - Variant value |
|
176 10, |
|
177 5, |
|
178 18,0,0,0, |
|
179 74, |
|
180 'I','n','s','t','a','l','l','e','d',' ','-',' ','W','i','d','g','e','t', |
|
181 // - Notification(Output)::pluginUid |
|
182 // - Variant name |
|
183 // - Version 1.0 |
|
184 // - Semantic ID (LE) |
|
185 // - Variant name length (LE) |
|
186 // - Variant name descriptor maximum length ( ( variant name length * 4 ) + 2 ) |
|
187 // - Variant name |
|
188 10, |
|
189 12,0,0,0, |
|
190 9,0,0,0, |
|
191 38, |
|
192 'p','l','u','g','i','n','U','i','d', |
|
193 // - Notification(Output)::pluginUid |
|
194 // - Variant value |
|
195 // - Version 1.0 |
|
196 // - Variant value type, EVariantTypeDesC |
|
197 // - Variant value length (LE) |
|
198 // - Variant value descriptor maximum length ( ( variant value length * 4 ) + 2 ) |
|
199 // - Variant value |
|
200 10, |
|
201 5, |
|
202 10,0,0,0, |
|
203 42, |
|
204 '0','x','2','0','0','0','b','1','3','3', |
|
205 // - Notification(Output)::pluginIds |
|
206 // - Variant name |
|
207 // - Version 1.0 |
|
208 // - Semantic ID (LE) |
|
209 // - Variant name length (LE) |
|
210 // - Variant name descriptor maximum length ( ( variant name length * 4 ) + 2 ) |
|
211 // - Variant name |
|
212 10, |
|
213 12,0,0,0, |
|
214 9,0,0,0, |
|
215 38, |
|
216 'p','l','u','g','i','n','I','d','s', |
|
217 // - Notification::pluginIds |
|
218 // - Variant value |
|
219 // - Version 1.0 |
|
220 // - Variant value type, EVariantTypeList |
|
221 10, |
|
222 7, |
|
223 // - Notification::pluginIds |
|
224 // - Version 1.0 |
|
225 // - Item count (LE) |
|
226 10, |
|
227 1,0,0,0, |
|
228 // Notification::pluginIds |
|
229 // - Version 1.0 |
|
230 // - List item starts |
|
231 10, |
|
232 0,0,0,0, |
|
233 // - Notification::pluginIds[0] |
|
234 // - Variant value |
|
235 // - Version 1.0 |
|
236 // - Variant value type, EVariantTypeDesC |
|
237 // - Variant value length (LE) |
|
238 // - Variant value descriptor maximum length ( ( variant value length * 4 ) + 2 ) |
|
239 // - Variant value |
|
240 10, |
|
241 5, |
|
242 1,0,0,0, |
|
243 6, |
|
244 '0' |
|
245 }; |
|
246 |
|
247 const TInt requestnotify_3_ts_1_trigger = 3; |
|
248 |
|
249 #endif // C_MT_HSPS_REMOVEPLUGIN_1_H |