|
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 MovePlugins(2) test data |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef MT_HSPS_MOVEPLUGINS_2_H_ |
|
20 #define MT_HSPS_MOVEPLUGINS_2_H_ |
|
21 |
|
22 /* |
|
23 MovePlugins(2) |
|
24 ---------------- |
|
25 |
|
26 Test purpose |
|
27 |
|
28 The purpose of this test case is to verify that the plugins order change fails |
|
29 if the configuration id is invalid |
|
30 |
|
31 Pre-conditions |
|
32 • There must be installed test themes for Active Idle application and Typical |
|
33 configuration must be set as active |
|
34 |
|
35 Test steps |
|
36 |
|
37 Test step 1: |
|
38 • Input: |
|
39 MovePlugins(“Invalid configuration”,”4,3,2”) |
|
40 • Expected output: |
|
41 Plugins order change fails |
|
42 |
|
43 */ |
|
44 |
|
45 // Test step 1 method: |
|
46 |
|
47 const TUint8 moveplugins_2_ts_1_method[] = "MovePlugins"; |
|
48 |
|
49 // Test step 1 input: |
|
50 |
|
51 const TUint8 moveplugins_2_ts_1_input[] = { |
|
52 // MovePlugins(Input) |
|
53 // - Version 1.0 |
|
54 // - Item count (LE) |
|
55 10, |
|
56 2,0,0,0, |
|
57 // - MovePlugins::confId |
|
58 // - Variant name |
|
59 // - Version 1.0 |
|
60 // - Semantic ID (LE) |
|
61 // - Variant name length (LE) |
|
62 // - Variant name descriptor maximum length ( ( variant name length * 4 ) + 2 ) |
|
63 // - Variant name |
|
64 10, |
|
65 12,0,0,0, |
|
66 6,0,0,0, |
|
67 26, |
|
68 'c','o','n','f','I','d', |
|
69 // - MovePlugins::confId |
|
70 // - Variant value |
|
71 // - Version 1.0 |
|
72 // - Variant value type, EVariantTypeDesC |
|
73 // - Variant value length (LE) |
|
74 // - Variant value descriptor maximum length ( ( variant value length * 4 ) + 2 ) |
|
75 // - Variant value |
|
76 10, |
|
77 5, |
|
78 2,0,0,0, |
|
79 10, |
|
80 '9','9', |
|
81 // - MovePlugins::plugins |
|
82 // - Variant name |
|
83 // - Version 1.0 |
|
84 // - Semantic ID (LE) |
|
85 // - Variant name length (LE) |
|
86 // - Variant name descriptor maximum length ( ( variant name length * 4 ) + 2 ) |
|
87 // - Variant name |
|
88 10, |
|
89 12,0,0,0, |
|
90 7,0,0,0, |
|
91 30, |
|
92 'p','l','u','g','i','n','s', |
|
93 // - MovePlugins::plugins |
|
94 // - Variant value |
|
95 // - Version 1.0 |
|
96 // - Variant value type, EVariantTypeList |
|
97 10, |
|
98 7, |
|
99 // - MovePlugins(Input)::plugins |
|
100 // - Version 1.0 |
|
101 // - Item count (LE) |
|
102 10, |
|
103 3,0,0,0, |
|
104 // - MovePlugins::plugins |
|
105 // - Version 1.0 |
|
106 // - List item starts |
|
107 10, |
|
108 0,0,0,0, |
|
109 // - plugins[0] |
|
110 // - Variant value |
|
111 // - Version 1.0 |
|
112 // - Variant value type, EVariantTypeDesC |
|
113 // - Variant value length (LE) |
|
114 // - Variant value descriptor maximum length ( ( variant value length * 4 ) + 2 ) |
|
115 // - Variant value |
|
116 10, |
|
117 5, |
|
118 1,0,0,0, |
|
119 6, |
|
120 '4', |
|
121 // - MovePlugins::plugins |
|
122 // - Version 1.0 |
|
123 // - List item starts |
|
124 10, |
|
125 0,0,0,0, |
|
126 // - plugins[1] |
|
127 // - Variant value |
|
128 // - Version 1.0 |
|
129 // - Variant value type, EVariantTypeDesC |
|
130 // - Variant value length (LE) |
|
131 // - Variant value descriptor maximum length ( ( variant value length * 4 ) + 2 ) |
|
132 // - Variant value |
|
133 10, |
|
134 5, |
|
135 1,0,0,0, |
|
136 6, |
|
137 '3', |
|
138 // - MovePlugins::plugins |
|
139 // - Version 1.0 |
|
140 // - List item starts |
|
141 10, |
|
142 0,0,0,0, |
|
143 // - plugins[2] |
|
144 // - Variant value |
|
145 // - Version 1.0 |
|
146 // - Variant value type, EVariantTypeDesC |
|
147 // - Variant value length (LE) |
|
148 // - Variant value descriptor maximum length ( ( variant value length * 4 ) + 2 ) |
|
149 // - Variant value |
|
150 10, |
|
151 5, |
|
152 1,0,0,0, |
|
153 6, |
|
154 '2' |
|
155 }; |
|
156 |
|
157 // Test step 1 output: |
|
158 const TUint8 moveplugins_2_ts_1_output[] = { |
|
159 // MovePlugins(Output) |
|
160 // - Version 1.0 |
|
161 // - Item count (LE) |
|
162 10, |
|
163 1,0,0,0, |
|
164 // - MovePlugins(Output)::status |
|
165 // - Variant name |
|
166 // - Version 1.0 |
|
167 // - Semantic ID (LE) |
|
168 // - Variant name length (LE) |
|
169 // - Variant name descriptor maximum length ( ( variant name length * 4 ) + 2 ) |
|
170 // - Variant name |
|
171 10, |
|
172 12,0,0,0, |
|
173 6,0,0,0, |
|
174 26, |
|
175 's','t','a','t','u','s', |
|
176 // - MovePlugins(Output)::status |
|
177 // - Variant value |
|
178 // - Version 1.0 |
|
179 // - Variant value type, EVariantTypeTInt32 |
|
180 // - Variant value, KErrArgument |
|
181 10, |
|
182 1, |
|
183 250,255,255,255 |
|
184 }; |
|
185 |
|
186 |
|
187 #endif /*MT_HSPS_MOVEPLUGINS_2_H_*/ |