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