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