|
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 GetPlugins(6) test data |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef C_MT_HSPS_GETPLUGINS_6_H |
|
20 #define C_MT_HSPS_GETPLUGINS_6_H |
|
21 |
|
22 /* |
|
23 GetPlugins(6) |
|
24 ---------------- |
|
25 |
|
26 Test purpose |
|
27 |
|
28 The purpose of this test case is to verify that an empty |
|
29 template plugin list is returned |
|
30 |
|
31 Pre-conditions |
|
32 There must be installed test themes for Active Idle application. |
|
33 There are no template plugins installed. |
|
34 |
|
35 Test steps |
|
36 Test step 1: |
|
37 • Input: |
|
38 GetPlugins(“0x998”, “template”) |
|
39 • Expected output |
|
40 Error |
|
41 |
|
42 */ |
|
43 |
|
44 // Test step 1 method: |
|
45 |
|
46 const TUint8 getplugins_6_ts_1_method[] = "GetPlugins"; |
|
47 |
|
48 // Test step 1 input: |
|
49 |
|
50 const TUint8 getplugins_6_ts_1_input[] = { |
|
51 // GetPlugins(Input) |
|
52 // - Version 1.0 |
|
53 // - Item count (LE) |
|
54 10, |
|
55 2,0,0,0, |
|
56 // - GetPlugins(Input)::interface |
|
57 // - Variant name |
|
58 // - Version 1.0 |
|
59 // - Semantic ID (LE) |
|
60 // - Variant name length (LE) |
|
61 // - Variant name descriptor maximum length ( ( variant name length * 4 ) + 2 ) |
|
62 // - Variant name |
|
63 10, |
|
64 12,0,0,0, |
|
65 9,0,0,0, |
|
66 38, |
|
67 'i','n','t','e','r','f','a','c','e', |
|
68 // - GetPlugins(Input)::interface |
|
69 // - Variant value |
|
70 // - Version 1.0 |
|
71 // - Variant value type, EVariantTypeDesC |
|
72 // - Variant value length (LE) |
|
73 // - Variant value descriptor maximum length ( ( variant value length * 4 ) + 2 ) |
|
74 // - Variant value |
|
75 10, |
|
76 5, |
|
77 5,0,0,0, |
|
78 22, |
|
79 '0','x','9','9','8', |
|
80 // - GetPlugins(Input)::type |
|
81 // - Variant name |
|
82 // - Version 1.0 |
|
83 // - Semantic ID (LE) |
|
84 // - Variant name length (LE) |
|
85 // - Variant name descriptor maximum length ( ( variant name length * 4 ) + 2 ) |
|
86 // - Variant name |
|
87 10, |
|
88 12,0,0,0, |
|
89 4,0,0,0, |
|
90 18, |
|
91 't','y','p','e', |
|
92 // - GetPlugins(Input)::type |
|
93 // - Variant value |
|
94 // - Version 1.0 |
|
95 // - Variant value type, EVariantTypeDesC |
|
96 // - Variant value length (LE) |
|
97 // - Variant value descriptor maximum length ( ( variant value length * 4 ) + 2 ) |
|
98 // - Variant value |
|
99 10, |
|
100 5, |
|
101 8,0,0,0, |
|
102 34, |
|
103 't','e','m','p','l','a','t','e' |
|
104 }; |
|
105 |
|
106 // Test step 1 output: |
|
107 |
|
108 const TUint8 getplugins_6_ts_1_output[] = { |
|
109 // GetPluginConf(Output) |
|
110 // - Version 1.0 |
|
111 // - Item count (LE) |
|
112 10, |
|
113 1,0,0,0, |
|
114 // GetPlugins(Output)::plugins |
|
115 // - Variant name |
|
116 // - Version 1.0 |
|
117 // - Semantic ID (LE) |
|
118 // - Variant name length (LE) |
|
119 // - Variant name descriptor maximum length ( ( variant name length * 4 ) + 2 ) |
|
120 // - Variant name |
|
121 10, |
|
122 12,0,0,0, |
|
123 7,0,0,0, |
|
124 30, |
|
125 'p','l','u','g','i','n','s', |
|
126 // GetPlugins(Output)::plugins |
|
127 // - Variant value |
|
128 // - Version 1.0 |
|
129 // - Variant value type, EVariantTypeList |
|
130 10, |
|
131 7, |
|
132 // GetPlugins(Output)::plugins |
|
133 // - Version 1.0 |
|
134 // - Item count (LE) |
|
135 10, |
|
136 0,0,0,0 |
|
137 }; |
|
138 |
|
139 #endif // C_MT_HSPS_GETPLUGINS_5_H |