1 /* |
|
2 * Copyright (c) 2010 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: |
|
15 * |
|
16 */ |
|
17 |
|
18 //[StifSettings] |
|
19 //CapsModifier= UsbWatcherTest.exe |
|
20 //[EndStifSettings] |
|
21 |
|
22 // UsbWatcherTest Module - total 23 tc |
|
23 |
|
24 // UsbWatcherTest Api Tests (23 tc) |
|
25 |
|
26 // USB watcher initialization tests (2) |
|
27 |
|
28 [Test] |
|
29 title Connect USB Watcher (USB Watcher Connection Test) |
|
30 create UsbWatcherTest tester |
|
31 tester InitializationTest SINGLE_CONN |
|
32 delete tester |
|
33 [Endtest] |
|
34 |
|
35 [Test] |
|
36 title Return Server Version (USB Watcher Initialization Test) |
|
37 create UsbWatcherTest tester |
|
38 tester InitializationTest VERSION |
|
39 delete tester |
|
40 [Endtest] |
|
41 |
|
42 // USB personality management tests (18) |
|
43 |
|
44 [Test] |
|
45 title Set PCSuite Personality (USB Personality Management Test) |
|
46 create UsbWatcherTest tester |
|
47 tester PersonalityManagementTest PCSUITE SET_PERSONALITY |
|
48 delete tester |
|
49 [Endtest] |
|
50 |
|
51 [Test] |
|
52 title Set MS Personality (USB Personality Management Test) |
|
53 create UsbWatcherTest tester |
|
54 tester PersonalityManagementTest MS SET_PERSONALITY |
|
55 delete tester |
|
56 [Endtest] |
|
57 |
|
58 |
|
59 [Test] |
|
60 title Set Modem Personality (USB Personality Management Test) |
|
61 create UsbWatcherTest tester |
|
62 tester PersonalityManagementTest Modem SET_PERSONALITY |
|
63 delete tester |
|
64 [Endtest] |
|
65 |
|
66 [Test] |
|
67 title Set MTP Personality (USB Personality Management Test) |
|
68 create UsbWatcherTest tester |
|
69 tester PersonalityManagementTest MTP SET_PERSONALITY |
|
70 delete tester |
|
71 [Endtest] |
|
72 |
|
73 [Test] |
|
74 title Set Previous Personality (USB Personality Management Test) |
|
75 create UsbWatcherTest tester |
|
76 tester PersonalityManagementTest MS SET_PREVIOUS_PERSONALITY |
|
77 delete tester |
|
78 [Endtest] |
|
79 |
|
80 [Test] |
|
81 title Set Previous Personality On Disconnect (USB Personality Management Test) |
|
82 create UsbWatcherTest tester |
|
83 tester PersonalityManagementTest MS SET_PREVIOUS_PERSONALITY_ON_DISC |
|
84 delete tester |
|
85 [Endtest] |
|
86 |
|
87 [Test] |
|
88 title Set Previous Personality Sync (USB Personality Management Test) |
|
89 create UsbWatcherTest tester |
|
90 tester PersonalityManagementTest MS SET_PREVIOUS_PERSONALITY_SYNC |
|
91 delete tester |
|
92 [Endtest] |
|
93 |
|
94 [Test] |
|
95 title Set PCSuite Personality/Cable Disconnected (USB Personality Management Test) |
|
96 create UsbWatcherTest tester |
|
97 tester PersonalityManagementTest PCSUITE SET_PERSONALITY_DISC |
|
98 delete tester |
|
99 [Endtest] |
|
100 |
|
101 [Test] |
|
102 title Set MS Personality/Cable Disconnected (USB Personality Management Test) |
|
103 create UsbWatcherTest tester |
|
104 tester PersonalityManagementTest MS SET_PERSONALITY_DISC |
|
105 delete tester |
|
106 [Endtest] |
|
107 |
|
108 [Test] |
|
109 title Set Modem Personality/Cable Disconnected (USB Personality Management Test) |
|
110 create UsbWatcherTest tester |
|
111 tester PersonalityManagementTest Modem SET_PERSONALITY_DISC |
|
112 delete tester |
|
113 [Endtest] |
|
114 |
|
115 [Test] |
|
116 title Set MTP Personality/Cable Disconnected (USB Personality Management Test) |
|
117 create UsbWatcherTest tester |
|
118 tester PersonalityManagementTest MTP SET_PERSONALITY_DISC |
|
119 delete tester |
|
120 [Endtest] |
|
121 |
|
122 [Test] |
|
123 title Cancel Set Personality/Cable Disconnected (USB Personality Management Test) |
|
124 create UsbWatcherTest tester |
|
125 tester PersonalityManagementTest MS CANCEL_SET_PERSONALITY_DISC |
|
126 delete tester |
|
127 [Endtest] |
|
128 |
|
129 [Test] |
|
130 title Set Previous Personality/Cable Disconnected (USB Personality Management Test) |
|
131 create UsbWatcherTest tester |
|
132 tester PersonalityManagementTest MS SET_PREVIOUS_PERSONALITY_DISC |
|
133 delete tester |
|
134 [Endtest] |
|
135 |
|
136 [Test] |
|
137 title Set Previous Personality On Disconnect/Cable Disconnected (USB Personality Management Test) |
|
138 create UsbWatcherTest tester |
|
139 tester PersonalityManagementTest MS SET_PREVIOUS_PERSONALITY_ON_DISC_DISC |
|
140 delete tester |
|
141 [Endtest] |
|
142 |
|
143 [Test] |
|
144 title Set Previous Personality Sync/Cable Disconnected (USB Personality Management Test) |
|
145 create UsbWatcherTest tester |
|
146 tester PersonalityManagementTest MS SET_PREVIOUS_PERSONALITY_SYNC_DISC |
|
147 delete tester |
|
148 [Endtest] |
|
149 |
|
150 [Test] |
|
151 title Cancel Set Previous Personality/Cable Disconnected (USB Personality Management Test) |
|
152 create UsbWatcherTest tester |
|
153 tester PersonalityManagementTest MS CANCEL_SET_PREVIOUS_PERSONALITY_DISC |
|
154 delete tester |
|
155 [Endtest] |
|
156 |
|
157 [Test] |
|
158 title Set Unknown Personality (USB Personality Management Test) |
|
159 create UsbWatcherTest tester |
|
160 tester PersonalityManagementTest MS SET_UNKNOWN_PERSONALITY |
|
161 delete tester |
|
162 [Endtest] |
|
163 |
|
164 [Test] |
|
165 title Interrupt Personality Set (USB Personality Management Test) |
|
166 create UsbWatcherTest tester |
|
167 tester PersonalityManagementTest MS INTERRUPT_PERSONALITY_SET |
|
168 delete tester |
|
169 [Endtest] |
|
170 |
|
171 // USB watcher branch tests (3) |
|
172 |
|
173 [Test] |
|
174 title Set Same Personality (USB Watcher Branch Test) |
|
175 create UsbWatcherTest tester |
|
176 tester BranchTest SAME_PERSONALITY_SET |
|
177 delete tester |
|
178 [Endtest] |
|
179 |
|
180 [Test] |
|
181 title Set Personality/Personality Switch Blocking On (USB Watcher Branch Test) |
|
182 create UsbWatcherTest tester |
|
183 tester BranchTest NON_BLOCKING |
|
184 delete tester |
|
185 [Endtest] |
|
186 |
|
187 [Test] |
|
188 title Set Personality/Ask On Connection Not Shown(USB Watcher Branch Test) |
|
189 create UsbWatcherTest tester |
|
190 tester BranchTest FORCE_SWITCH |
|
191 delete tester |
|
192 [Endtest] |
|
193 |
|
194 // Add new api tests here |
|
195 // ... |
|
196 |
|
197 |
|
198 // UsbWatcherTest Module Tests (... tc) |
|
199 |
|
200 |
|
201 // Add new module tests here |
|
202 // ... |
|
203 |
|
204 |
|
205 // UsbWatcherTest Branch Tests (... tc) |
|
206 |
|
207 |
|
208 // Add new branch tests here |
|
209 // ... |
|