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