44
|
1 |
/*
|
|
2 |
* Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
|
|
3 |
* All rights reserved.
|
|
4 |
* This component and the accompanying materials are made available
|
46
|
5 |
* under the terms of "Eclipse Public License v1.0"
|
44
|
6 |
* which accompanies this distribution, and is available
|
46
|
7 |
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
|
44
|
8 |
*
|
|
9 |
* Initial Contributors:
|
|
10 |
* Nokia Corporation - initial contribution.
|
|
11 |
*
|
|
12 |
* Contributors:
|
|
13 |
*
|
|
14 |
* Description: Test script config file
|
|
15 |
*
|
|
16 |
*/
|
|
17 |
|
|
18 |
// UsbUiNotifApiTest Module - total 21 tc
|
|
19 |
|
|
20 |
// UsbUiNotifApiTest Api Tests (... tc)
|
|
21 |
|
|
22 |
// Cable connected notifier tests (3)
|
|
23 |
|
|
24 |
[Test]
|
|
25 |
title USB Ovi Suite Personality Info (Cable Connected Notifier Test)
|
|
26 |
create UsbUiNotifApiTest tester
|
|
27 |
tester ExecuteApiTestBlock CableConnectedNotifierTest PCSUITEMTP
|
|
28 |
pause 4000
|
|
29 |
delete tester
|
|
30 |
[Endtest]
|
|
31 |
|
|
32 |
[Test]
|
|
33 |
title USB MS Personality Info (Cable Connected Notifier Test)
|
|
34 |
create UsbUiNotifApiTest tester
|
|
35 |
tester ExecuteApiTestBlock CableConnectedNotifierTest MS
|
|
36 |
pause 4000
|
|
37 |
delete tester
|
|
38 |
[Endtest]
|
|
39 |
|
|
40 |
[Test]
|
|
41 |
title USB MTP Personality Info (Cable Connected Notifier Test)
|
|
42 |
create UsbUiNotifApiTest tester
|
|
43 |
tester ExecuteApiTestBlock CableConnectedNotifierTest MTP
|
|
44 |
pause 4000
|
|
45 |
delete tester
|
|
46 |
[Endtest]
|
|
47 |
|
|
48 |
|
|
49 |
[Test]
|
|
50 |
title USB No Memory Card Query Accepted (USB Queries Notifier Test)
|
|
51 |
create UsbUiNotifApiTest tester
|
|
52 |
tester ExecuteApiTestBlock UsbQueriesNotifierTest EUSBNoMemoryCard
|
|
53 |
tester ExecuteApiTestBlock FinishQuery ACCEPT
|
|
54 |
delete tester
|
|
55 |
[Endtest]
|
|
56 |
|
|
57 |
[Test]
|
|
58 |
title USB Storage Media Failure Query Accepted/Device Key Enter Pressed (USB Queries Notifier Test)
|
|
59 |
create UsbUiNotifApiTest tester
|
|
60 |
tester ExecuteApiTestBlock UsbQueriesNotifierTest EUSBStorageMediaFailure
|
|
61 |
pause 3000
|
|
62 |
presskey global EKeyEnter
|
|
63 |
tester ExecuteApiTestBlock FinishQuery ACCEPT
|
|
64 |
delete tester
|
|
65 |
[Endtest]
|
|
66 |
|
|
67 |
[Test]
|
|
68 |
title USB Storage Media Failure Query Accepted/Device Key 0 Pressed (USB Queries Notifier Test)
|
|
69 |
create UsbUiNotifApiTest tester
|
|
70 |
tester ExecuteApiTestBlock UsbQueriesNotifierTest EUSBStorageMediaFailure
|
|
71 |
pause 1000
|
|
72 |
presskey global EKeyDevice0
|
|
73 |
tester ExecuteApiTestBlock FinishQuery ACCEPT
|
|
74 |
delete tester
|
|
75 |
[Endtest]
|
|
76 |
|
|
77 |
[Test]
|
|
78 |
title USB Change From Mass Storage Query Accepted/Device Key Enter Pressed (USB Queries Notifier Test)
|
|
79 |
create UsbUiNotifApiTest tester
|
|
80 |
tester ExecuteApiTestBlock UsbQueriesNotifierTest EUSBChangeFromMassStorage
|
|
81 |
pause 3000
|
|
82 |
presskey global EKeyEnter
|
|
83 |
tester ExecuteApiTestBlock FinishQuery ACCEPT
|
|
84 |
delete tester
|
|
85 |
[Endtest]
|
|
86 |
|
|
87 |
[Test]
|
|
88 |
title USB Change From Mass Storage Query Accepted/Device Key 0 Pressed (USB Queries Notifier Test)
|
|
89 |
create UsbUiNotifApiTest tester
|
|
90 |
tester ExecuteApiTestBlock UsbQueriesNotifierTest EUSBChangeFromMassStorage
|
|
91 |
pause 3000
|
|
92 |
presskey global EKeyDevice0
|
|
93 |
tester ExecuteApiTestBlock FinishQuery ACCEPT
|
|
94 |
delete tester
|
|
95 |
[Endtest]
|
|
96 |
|
|
97 |
[Test]
|
|
98 |
title USB Change From Mass Storage Query Cancelled (USB Queries Notifier Test)
|
|
99 |
create UsbUiNotifApiTest tester
|
|
100 |
tester ExecuteApiTestBlock UsbQueriesNotifierTest EUSBChangeFromMassStorage
|
|
101 |
pause 3000
|
|
102 |
presskey global EKeyDevice1
|
|
103 |
tester ExecuteApiTestBlock FinishQuery CANCEL
|
|
104 |
delete tester
|
|
105 |
[Endtest]
|
|
106 |
|
|
107 |
|
|
108 |
[Test]
|
|
109 |
title OTG Error too much power (Otg Error Notifier Test)
|
|
110 |
create UsbUiNotifApiTest tester
|
|
111 |
tester ExecuteApiTestBlock UsbOTGErrorNotifierTests EUsbOtgTooMuchPower
|
|
112 |
pause 3000
|
|
113 |
presskey global EKeyDevice0
|
|
114 |
tester ExecuteApiTestBlock FinishQuery ACCEPT
|
|
115 |
delete tester
|
|
116 |
[Endtest]
|
|
117 |
|
|
118 |
[Test]
|
|
119 |
title OTG Error too much power (Otg Error Notifier Test)
|
|
120 |
create UsbUiNotifApiTest tester
|
|
121 |
tester ExecuteApiTestBlock UsbOTGErrorNotifierTests EUsbOtgTooMuchPowerRequired
|
|
122 |
pause 3000
|
|
123 |
presskey global EKeyDevice0
|
|
124 |
tester ExecuteApiTestBlock FinishQuery ACCEPT
|
|
125 |
delete tester
|
|
126 |
[Endtest]
|
|
127 |
|
|
128 |
[Test]
|
|
129 |
title OTG Error unsupported device (Otg Error Notifier Test)
|
|
130 |
create UsbUiNotifApiTest tester
|
|
131 |
tester ExecuteApiTestBlock UsbOTGErrorNotifierTests EUsbOtgUnsupportedDevice
|
|
132 |
pause 3000
|
|
133 |
presskey global EKeyDevice0
|
|
134 |
tester ExecuteApiTestBlock FinishQuery ACCEPT
|
|
135 |
delete tester
|
|
136 |
[Endtest]
|
|
137 |
|
|
138 |
[Test]
|
|
139 |
title OTG Error Hub not supported device (Otg Error Notifier Test)
|
|
140 |
create UsbUiNotifApiTest tester
|
|
141 |
tester ExecuteApiTestBlock UsbOTGErrorNotifierTests EUsbOtgHubUnsupported
|
|
142 |
pause 3000
|
|
143 |
presskey global EKeyDevice0
|
|
144 |
tester ExecuteApiTestBlock FinishQuery ACCEPT
|
|
145 |
delete tester
|
|
146 |
[Endtest]
|
|
147 |
|
|
148 |
[Test]
|
|
149 |
title OTG Error error in connection (Otg Error Notifier Test)
|
|
150 |
create UsbUiNotifApiTest tester
|
|
151 |
tester ExecuteApiTestBlock UsbOTGErrorNotifierTests EUsbOtgErrorInConnection
|
|
152 |
pause 3000
|
|
153 |
presskey global EKeyDevice0
|
|
154 |
tester ExecuteApiTestBlock FinishQuery ACCEPT
|
|
155 |
delete tester
|
|
156 |
[Endtest]
|
|
157 |
|
|
158 |
[Test]
|
|
159 |
title OTG Attach timed out (Otg Error Notifier Test)
|
|
160 |
create UsbUiNotifApiTest tester
|
|
161 |
tester ExecuteApiTestBlock UsbOTGErrorNotifierTests EUsbOtgErrorAttachTimedOut
|
|
162 |
pause 3000
|
|
163 |
presskey global EKeyDevice0
|
|
164 |
tester ExecuteApiTestBlock FinishQuery ACCEPT
|
|
165 |
delete tester
|
|
166 |
[Endtest]
|
|
167 |
|
|
168 |
[Test]
|
|
169 |
title OTG Partially supported device (Otg Warning Notifier Test)
|
|
170 |
create UsbUiNotifApiTest tester
|
|
171 |
tester ExecuteApiTestBlock UsbOTGWarningNotifierTests EUsbOtgPartiallySupportedDevice
|
|
172 |
pause 500
|
|
173 |
presskey global EKeyDevice0
|
|
174 |
tester ExecuteApiTestBlock FinishQuery ACCEPT
|
|
175 |
delete tester
|
|
176 |
[Endtest]
|
|
177 |
|
|
178 |
[Test]
|
|
179 |
title Load and Unload notifiers
|
|
180 |
create UsbUiNotifApiTest tester
|
|
181 |
tester ExecuteApiTestBlock LoadNotifiers
|
|
182 |
pause 500
|
|
183 |
tester ExecuteApiTestBlock UnLoadNotifiers
|
|
184 |
delete tester
|
|
185 |
[Endtest]
|
|
186 |
|
|
187 |
[Test]
|
|
188 |
title MSMM error test (MSMM error Notifier Test)
|
|
189 |
create UsbUiNotifApiTest tester
|
|
190 |
tester ExecuteApiTestBlock UsbMSMMNotifierTests EUsbMSMMGeneralError
|
|
191 |
pause 500
|
|
192 |
presskey global EKeyDevice0
|
|
193 |
tester ExecuteApiTestBlock FinishQuery ACCEPT
|
|
194 |
delete tester
|
|
195 |
[Endtest]
|
|
196 |
|
|
197 |
[Test]
|
|
198 |
title MSMM error test (MSMM error Notifier Test)
|
|
199 |
create UsbUiNotifApiTest tester
|
|
200 |
tester ExecuteApiTestBlock UsbMSMMNotifierTests EUsbMSMMUnknownFileSystem
|
|
201 |
pause 500
|
|
202 |
presskey global EKeyDevice0
|
|
203 |
tester ExecuteApiTestBlock FinishQuery ACCEPT
|
|
204 |
delete tester
|
|
205 |
[Endtest]
|
|
206 |
|
|
207 |
[Test]
|
|
208 |
title MSMM error test (MSMM error Notifier Test)
|
|
209 |
create UsbUiNotifApiTest tester
|
|
210 |
tester ExecuteApiTestBlock UsbMSMMNotifierTests EUsbMSMMOutOfMemory
|
|
211 |
pause 500
|
|
212 |
presskey global EKeyDevice0
|
|
213 |
tester ExecuteApiTestBlock FinishQuery ACCEPT
|
|
214 |
delete tester
|
|
215 |
[Endtest]
|
|
216 |
|
|
217 |
// Add new api tests here
|
|
218 |
// ...
|
|
219 |
|
|
220 |
|
|
221 |
// UsbUiNotifApiTest Module Tests (... tc)
|
|
222 |
|
|
223 |
// Add new module tests here
|
|
224 |
// ...
|
|
225 |
|
|
226 |
|
|
227 |
// UsbUiNotifApiTest Branch Tests (... tc)
|
|
228 |
|
|
229 |
// Add new branch tests here
|
|
230 |
// ...
|