|
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 SetActivePlugin(6) test data |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef C_MT_HSPS_SETACTIVEPLUGIN_6_H |
|
20 #define C_MT_HSPS_SETACTIVEPLUGIN_6_H |
|
21 |
|
22 /* |
|
23 SetActivePlugin(6) |
|
24 ------------------ |
|
25 |
|
26 Test purpose |
|
27 |
|
28 The purpose of this test case is to verify that status element with KErrArgument |
|
29 error code is returned when plugin id parameter is not defined. |
|
30 |
|
31 Pre-conditions |
|
32 |
|
33 There must be installed test themes for Active Idle application and Typical |
|
34 configuration must be set as active (Typical view 1 is set as active). |
|
35 |
|
36 Test steps |
|
37 |
|
38 Test step 1: |
|
39 • Input: |
|
40 SetActivePlugin() |
|
41 • Expected output: |
|
42 Status element with KErrArgument error code |
|
43 |
|
44 */ |
|
45 |
|
46 // Test step 1 method: |
|
47 |
|
48 const TUint8 setactiveplugin_6_ts_1_method[] = "SetActivePlugin"; |
|
49 |
|
50 // Test step 1 input: |
|
51 |
|
52 const TUint8 setactiveplugin_6_ts_1_input[] = { |
|
53 // SetActivePlugin(Input) |
|
54 // - Version 1.0 |
|
55 // - Item count (LE) |
|
56 10, |
|
57 0,0,0,0 |
|
58 }; |
|
59 |
|
60 // Test step 1 output: |
|
61 |
|
62 const TUint8 setactiveplugin_6_ts_1_output[] = { |
|
63 // SetActivePlugin(Output) |
|
64 // - Version 1.0 |
|
65 // - Item count (LE) |
|
66 10, |
|
67 1,0,0,0, |
|
68 // - SetActivePlugin(Output)::status |
|
69 // - Variant name |
|
70 // - Version 1.0 |
|
71 // - Semantic ID (LE) |
|
72 // - Variant name length (LE) |
|
73 // - Variant name descriptor maximum length ( ( variant name length * 4 ) + 2 ) |
|
74 // - Variant name |
|
75 10, |
|
76 12,0,0,0, |
|
77 6,0,0,0, |
|
78 26, |
|
79 's','t','a','t','u','s', |
|
80 // - RemovePlugin(Input)::status |
|
81 // - Variant value |
|
82 // - Version 1.0 |
|
83 // - Variant value type, EVariantTypeTInt32 |
|
84 // - Variant value length (LE) |
|
85 // - Variant value descriptor maximum length ( ( variant value length * 4 ) + 2 ) |
|
86 // - Variant value |
|
87 10, |
|
88 1, |
|
89 250,255,255,255 |
|
90 }; |
|
91 |
|
92 #endif // C_MT_HSPS_SETACTIVEPLUGIN_6_H |