|
1 // |
|
2 // Copyright (c) 2005-2009 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 //! @file |
|
18 //! @SYMTestSuiteName T_BTUserAPI |
|
19 //! @SYMScriptTestEnvironment This test script requires a basic ROM with bluetooth dongle. |
|
20 //! @SYMScriptDescription Tests all public elements of the RBTPhysicalLinkAdapter class |
|
21 //! as a means of confidence that the API works as expected. |
|
22 //! The purpose is to provide a regression test suite of PublishedAll APIs for |
|
23 //! BT USER related classes. |
|
24 //! Negative testing is performed to confirm that correct errors are returned |
|
25 //! when incorrect parameters are given. The tests are fully automated. |
|
26 //! @SYMAuthor Ting Yen and PaiHung Huang |
|
27 //! @SYMCreationDate 11/09/2007 |
|
28 /////////////////////////////////////////////////////////////////////////////// |
|
29 |
|
30 RUN_UTILS MkDir ${SYSDRIVE}\bluetooth\ |
|
31 RUN_UTILS MkDir ${SYSDRIVE}\bluetooth\user\ |
|
32 |
|
33 LOAD_SUITE UCCControlTE |
|
34 LOAD_SUITE T_BTUserAPI -SharedData |
|
35 DELAY 2000 |
|
36 |
|
37 RUN_TEST_STEP -1 UCCControlTE RunCommand \bluetooth\user\UccControlChannelConfig.ini StartSyncService |
|
38 RUN_TEST_STEP -1 UCCControlTE RunCommand \bluetooth\user\UccControlChannelConfig.ini StartTDService |
|
39 RUN_TEST_STEP -1 UCCControlTE RunCommand \bluetooth\user\UccControlChannelConfig.ini BuildRunAdapterPassiveSlave |
|
40 |
|
41 DELAY 5000 |
|
42 // **************************************************************************** |
|
43 // Set up BT Addresses |
|
44 // **************************************************************************** |
|
45 |
|
46 START_TESTCASE BT-USER-PublicApi-Master-SetBTAddresses |
|
47 |
|
48 START_TEST_BLOCK 100 T_BTUserAPI \bluetooth\user\BT-USER-PhysicalLinkAdapter-PublicApi-Active-Master.ini |
|
49 SHARED_ACTIVE_SCHEDULER |
|
50 CREATE_OBJECT CBluetoothSocket CBluetoothSocket1 |
|
51 CREATE_OBJECT TBTServiceSecurity TBTServiceSecurity1 |
|
52 COMMAND CBluetoothSocket1 RSocketServerConnect |
|
53 COMMAND CBluetoothSocket1 NewL BT-USER-PublicApi-Active-SetBTAddresses-0001command2NewL |
|
54 COMMAND TBTServiceSecurity1 Construct |
|
55 STORE CBluetoothSocket1 |
|
56 STORE TBTServiceSecurity1 |
|
57 STORE_ACTIVE_SCHEDULER |
|
58 END_TEST_BLOCK |
|
59 DELAY 2000 |
|
60 RUN_TEST_STEP -1 UCCControlTE RunCommand \bluetooth\user\UccControlChannelConfig.ini StartSyncTestCase |
|
61 START_TEST_BLOCK 100 T_BTUserAPI \bluetooth\user\BT-USER-PhysicalLinkAdapter-PublicApi-Active-Master.ini |
|
62 SHARED_ACTIVE_SCHEDULER |
|
63 CREATE_OBJECT TL2CAPSockAddr TL2CAPSockAddr1 |
|
64 CREATE_OBJECT TBTDevAddr TBTDevAddrRemote |
|
65 RESTORE_OBJECT CBluetoothSocket CBluetoothSocket1 |
|
66 RESTORE_OBJECT TBTServiceSecurity TBTServiceSecurity1 |
|
67 COMMAND TBTDevAddrRemote Construct |
|
68 COMMAND TBTDevAddrRemote OpenHostResolver BT-USER-PublicApi-Active-SetBTAddresses-0002command3OpenHostResolver |
|
69 COMMAND TBTDevAddrRemote SetHostNameL BT-USER-PublicApi-Active-SetBTAddresses-0002command4SetHostNameL |
|
70 COMMAND TBTDevAddrRemote GetDeviceAddress BT-USER-PublicApi-Active-SetBTAddresses-0002command5GetDeviceAddress |
|
71 OUTSTANDING |
|
72 COMMAND TL2CAPSockAddr1 TL2CAPSockAddr |
|
73 COMMAND TL2CAPSockAddr1 SetSecurity BT-USER-PublicApi-Active-SetBTAddresses-0002command8SetSecurity |
|
74 COMMAND TL2CAPSockAddr1 SetBTAddr BT-USER-PublicApi-Active-SetBTAddresses-0002command9SetBTAddr |
|
75 COMMAND TL2CAPSockAddr1 BTAddr BT-USER-PublicApi-Active-SetBTAddresses-0002command10BTAddr |
|
76 COMMAND TL2CAPSockAddr1 SetPort BT-USER-PublicApi-Active-SetBTAddresses-0002command11SetPort |
|
77 STORE CBluetoothSocket1 |
|
78 STORE TBTDevAddrRemote |
|
79 STORE TL2CAPSockAddr1 |
|
80 STORE_ACTIVE_SCHEDULER |
|
81 END_TEST_BLOCK |
|
82 DELAY 5000 |
|
83 START_TEST_BLOCK 100 T_BTUserAPI \bluetooth\user\BT-USER-PhysicalLinkAdapter-PublicApi-Active-Master.ini |
|
84 SHARED_ACTIVE_SCHEDULER |
|
85 RESTORE_OBJECT CBluetoothSocket CBluetoothSocket1 |
|
86 RESTORE_OBJECT TL2CAPSockAddr TL2CAPSockAddr1 |
|
87 COMMAND CBluetoothSocket1 Connect BT-USER-PublicApi-Active-SetBTAddresses-0003command1Connect |
|
88 OUTSTANDING |
|
89 STORE CBluetoothSocket1 |
|
90 STORE TL2CAPSockAddr1 |
|
91 STORE_ACTIVE_SCHEDULER |
|
92 END_TEST_BLOCK |
|
93 RUN_TEST_STEP -1 UCCControlTE RunCommand \bluetooth\user\UccControlChannelConfig.ini RetrieveSyncTestCaseResult |
|
94 |
|
95 RUN_TEST_STEP -1 UCCControlTE RunCommand \bluetooth\user\UccControlChannelConfig.ini StartSyncTestCase |
|
96 START_TEST_BLOCK 100 T_BTUserAPI \bluetooth\user\BT-USER-PhysicalLinkAdapter-PublicApi-Active-Master.ini |
|
97 SHARED_ACTIVE_SCHEDULER |
|
98 RESTORE_OBJECT CBluetoothSocket CBluetoothSocket1 |
|
99 CREATE_OBJECT TBTDevAddr TBTDevAddrLocal |
|
100 COMMAND TBTDevAddrLocal Construct |
|
101 COMMAND TBTDevAddrLocal SetBTAddr BT-USER-PublicApi-Active-SetBTAddresses-0004command3SetBTAddr |
|
102 COMMAND CBluetoothSocket1 Send BT-USER-PublicApi-Active-SetBTAddresses-0004command5Send |
|
103 OUTSTANDING |
|
104 STORE CBluetoothSocket1 |
|
105 STORE_ACTIVE_SCHEDULER |
|
106 END_TEST_BLOCK |
|
107 RUN_TEST_STEP -1 UCCControlTE RunCommand \bluetooth\user\UccControlChannelConfig.ini RetrieveSyncTestCaseResult |
|
108 |
|
109 RUN_TEST_STEP -1 UCCControlTE RunCommand \bluetooth\user\UccControlChannelConfig.ini StartSyncTestCase |
|
110 START_TEST_BLOCK 100 T_BTUserAPI \bluetooth\user\BT-USER-PhysicalLinkAdapter-PublicApi-Active-Master.ini |
|
111 SHARED_ACTIVE_SCHEDULER |
|
112 RESTORE_OBJECT CBluetoothSocket CBluetoothSocket1 |
|
113 COMMAND CBluetoothSocket1 Shutdown BT-USER-PublicApi-Active-SetBTAddresses-0005command1Shutdown |
|
114 OUTSTANDING |
|
115 COMMAND CBluetoothSocket1 ~ |
|
116 COMMAND CBluetoothSocket1 RSocketServerClose |
|
117 END_TEST_BLOCK |
|
118 RUN_TEST_STEP -1 UCCControlTE RunCommand \bluetooth\user\UccControlChannelConfig.ini RetrieveSyncTestCaseResult |
|
119 |
|
120 END_TESTCASE BT-USER-PublicApi-Master-SetBTAddresses |
|
121 |
|
122 |
|
123 DELAY 2000 |
|
124 // **************************************************************************** |
|
125 // RBTPhysicalLinkAdapter::Authenticate() Master (Manual Tests) |
|
126 // **************************************************************************** |
|
127 |
|
128 START_TESTCASE BT-USER-Authenticate-PublicApi-Active-Master-0001 |
|
129 //! @SYMTestCaseID BT-USER-Authenticate-PublicApi-Active-Master-0001 |
|
130 //! @SYMAPI RSocketServ, CBluetoothPhysicalLinks, MBluetoothPhysicalLinksNotifier, RBTPhysicalLinkAdapter, CBluetoothSocket, MBluetoothSocketNotifier |
|
131 //! @SYMTestCaseDesc Attempts to authenticate the existing physical link |
|
132 //! Uses API elements: RSocketServ() and Connect() from RSocketServ |
|
133 //! NewL() and CreateConnection() from CBluetoothPhysicalLinks |
|
134 //! HandleCreateConnectionCompleteL() from MBluetoothPhysicalLinksNotifier |
|
135 //! RBTPhysicalLinkAdapter(), Open()2, NotifyNextBasebandChangeEvent(), Authenticate(), Close() and destructor from RBTPhysicalLinkAdapter |
|
136 //! NewL()1 and Connect()1 from CBluetoothSocket |
|
137 //! HandleConnectCompleteL() from MBluetoothSocketNotifier |
|
138 //! @SYMTestActions 1. Create a connection to the RSocket server |
|
139 //! 2. Create the CBluetoothSocket object using NewL()1 (Standard constructor) |
|
140 //! 3. Use the TL2CAPSockAddr in the connect of the CBluetooth object |
|
141 //! 4. HandleConnectCompleteL gets called indicating that connecting the BT connection completed |
|
142 //! 5. Create and start a session on the socket server |
|
143 //! 6. Open a Bluetooth socket using NewL() function. Return KErrNone if successful |
|
144 //! 7. Bring in a new member to the piconet with a slave device address using CreateConnection() |
|
145 //! function. Return KErrNone if successful |
|
146 //! 8. Return callback HandleCreateConnectionCompleteL() function |
|
147 //! 9. Verify that if return result (decimal 0) from callback function is as expected (decimal 0) |
|
148 //! 10. Create a RBTPhysicalLinkAdapter object using RBTPhysicalLinkAdapter() function |
|
149 //! 11. Open a physical link adapter on an existing physical link with a device address |
|
150 //! using Open()2 function. Return KErrNone if successful |
|
151 //! 12. Request a notification with ENotifyAuthenticationComplete using NotifyNextBasebandChangeEvent function |
|
152 //! 13. Verify that the result (262144) is as expected (262144) |
|
153 //! 14. Attempts to authenticate the existing physical link using Authenticate() function. |
|
154 //! Return KErrNone if successful |
|
155 //! 15. Close the physical link adapter using Close() function |
|
156 //! 16. Destroy the physical link adapter object |
|
157 //! |
|
158 //! @SYMTestStatus Implemented |
|
159 //! @SYMTestPriority Critical |
|
160 //! @SYMTestExpectedResults KErrNone returned |
|
161 //! @SYMTestType CIT |
|
162 |
|
163 START_TEST_BLOCK 500 T_BTUserAPI \bluetooth\user\BT-USER-PhysicalLinkAdapter-PublicApi-Active-Master.ini |
|
164 SHARED_ACTIVE_SCHEDULER |
|
165 CREATE_OBJECT CBluetoothSocket CBluetoothSocketData |
|
166 COMMAND CBluetoothSocketData RSocketServerConnect |
|
167 COMMAND CBluetoothSocketData NewL BT-USER-Authenticate-PublicApi-Active-0001-0001command2NewL |
|
168 STORE CBluetoothSocketData |
|
169 STORE_ACTIVE_SCHEDULER |
|
170 END_TEST_BLOCK |
|
171 |
|
172 RUN_TEST_STEP -1 UCCControlTE RunCommand \bluetooth\user\UccControlChannelConfig.ini StartSyncTestCase |
|
173 DELAY 10000 |
|
174 START_TEST_BLOCK 500 T_BTUserAPI \bluetooth\user\BT-USER-PhysicalLinkAdapter-PublicApi-Active-Master.ini |
|
175 SHARED_ACTIVE_SCHEDULER |
|
176 RESTORE_OBJECT CBluetoothSocket CBluetoothSocketData |
|
177 RESTORE_OBJECT TL2CAPSockAddr TL2CAPSockAddr1 |
|
178 COMMAND CBluetoothSocketData Connect BT-USER-Authenticate-PublicApi-Active-0001-0002command2Connect |
|
179 OUTSTANDING |
|
180 STORE CBluetoothSocketData |
|
181 STORE TL2CAPSockAddr1 |
|
182 STORE_ACTIVE_SCHEDULER |
|
183 END_TEST_BLOCK |
|
184 RUN_TEST_STEP -1 UCCControlTE RunCommand \bluetooth\user\UccControlChannelConfig.ini RetrieveSyncTestCaseResult |
|
185 |
|
186 RUN_TEST_STEP -1 UCCControlTE RunCommand \bluetooth\user\UccControlChannelConfig.ini StartSyncTestCase |
|
187 START_TEST_BLOCK 500 T_BTUserAPI \bluetooth\user\BT-USER-PhysicalLinkAdapter-PublicApi-Active-Master.ini |
|
188 SHARED_ACTIVE_SCHEDULER |
|
189 CREATE_OBJECT RBTPhysicalLinkAdapter RBTPhysicalLinkAdapterData |
|
190 CREATE_OBJECT CBluetoothPhysicalLinks CBluetoothPhysicalLinksData |
|
191 RESTORE_OBJECT TBTDevAddr TBTDevAddrRemote |
|
192 CREATE_OBJECT RSocketServ RSocketServData |
|
193 COMMAND RSocketServData RSocketServ |
|
194 COMMAND RSocketServData Connect |
|
195 COMMAND CBluetoothPhysicalLinksData NewL BT-USER-Authenticate-PublicApi-Active-0001-0003command5NewL |
|
196 COMMAND CBluetoothPhysicalLinksData CreateConnection BT-USER-Authenticate-PublicApi-Active-0001-0003command6CreateConnection |
|
197 OUTSTANDING |
|
198 COMMAND RBTPhysicalLinkAdapterData RBTPhysicalLinkAdapter |
|
199 COMMAND RBTPhysicalLinkAdapterData Open BT-USER-Authenticate-PublicApi-Active-0001-0003command10Open |
|
200 COMMAND RBTPhysicalLinkAdapterData NotifyNextBasebandChangeEvent BT-USER-Authenticate-PublicApi-Active-0001-0003command11NotifyNextBasebandChangeEvent |
|
201 COMMAND RBTPhysicalLinkAdapterData Authenticate |
|
202 OUTSTANDING |
|
203 COMMAND RBTPhysicalLinkAdapterData Close |
|
204 COMMAND RBTPhysicalLinkAdapterData ~ |
|
205 STORE TBTDevAddrRemote |
|
206 STORE RSocketServData |
|
207 STORE CBluetoothPhysicalLinksData |
|
208 STORE_ACTIVE_SCHEDULER |
|
209 END_TEST_BLOCK |
|
210 RUN_TEST_STEP -1 UCCControlTE RunCommand \bluetooth\user\UccControlChannelConfig.ini RetrieveSyncTestCaseResult |
|
211 |
|
212 END_TESTCASE BT-USER-Authenticate-PublicApi-Active-Master-0001 |
|
213 |
|
214 |
|
215 START_TESTCASE BT-USER-Authenticate-PublicApi-Active-Master-0002 |
|
216 //! @SYMTestCaseID BT-USER-Authenticate-PublicApi-Active-Master-0002 |
|
217 //! @SYMAPI RSocketServ, CBluetoothPhysicalLinks, RBTPhysicalLinkAdapter, CBluetoothSocket, MBluetoothSocketNotifier |
|
218 //! @SYMTestCaseDesc Attempts to authenticate the existing physical link |
|
219 //! Uses API elements: RBTPhysicalLinkAdapter(), Open()2, Authenticate(), Close() and destructor from RBTPhysicalLinkAdapter |
|
220 //! destructor from CBluetoothPhysicalLinks |
|
221 //! Close() from RSocketServ |
|
222 //! Shutdown()1 and destructor from CBluetoothSocket |
|
223 //! HandleShutdownCompleteL() from MBluetoothSocketNotifier |
|
224 //! @SYMTestActions 1. Create a RBTPhysicalLinkAdapter object using RBTPhysicalLinkAdapter() function |
|
225 //! 2. Open a physical link adapter on an existing physical link with a device address |
|
226 //! using Open()2 function. Return KErrNone if successful |
|
227 //! 3. Attempts to authenticate the existing physical link using Authenticate() function. |
|
228 //! Return KErrNone if successful |
|
229 //! 4. Close the physical link adapter using Close() function |
|
230 //! 5. Destroy the physical link adapter object |
|
231 //! 6. Delete CBluetoothPhysicalLink object |
|
232 //! 7. Close RSocket object |
|
233 //! 8. Do socket cleanup by calling Shutdown()1 |
|
234 //! 9. HandleShutdownCompleteL gets called verify error code |
|
235 //! 10. Delete CBluetoothSocket object |
|
236 //! |
|
237 //! @SYMTestStatus Implemented |
|
238 //! @SYMTestPriority Critical |
|
239 //! @SYMTestExpectedResults Error at step 3. KErrAlreadyExist (-11) returned |
|
240 //! @SYMTestType CIT |
|
241 |
|
242 RUN_TEST_STEP -1 UCCControlTE RunCommand \bluetooth\user\UccControlChannelConfig.ini StartSyncTestCase |
|
243 START_TEST_BLOCK 500 T_BTUserAPI \bluetooth\user\BT-USER-PhysicalLinkAdapter-PublicApi-Active-Master.ini |
|
244 SHARED_ACTIVE_SCHEDULER |
|
245 CREATE_OBJECT RBTPhysicalLinkAdapter RBTPhysicalLinkAdapterData |
|
246 RESTORE_OBJECT TBTDevAddr TBTDevAddrRemote |
|
247 RESTORE_OBJECT RSocketServ RSocketServData |
|
248 COMMAND RBTPhysicalLinkAdapterData RBTPhysicalLinkAdapter |
|
249 COMMAND RBTPhysicalLinkAdapterData Open BT-USER-Authenticate-PublicApi-Active-0002-0001command3Open |
|
250 COMMAND !Error=-11 RBTPhysicalLinkAdapterData Authenticate |
|
251 COMMAND RBTPhysicalLinkAdapterData Close |
|
252 COMMAND RBTPhysicalLinkAdapterData ~ |
|
253 STORE RSocketServData |
|
254 STORE TBTDevAddrRemote |
|
255 STORE_ACTIVE_SCHEDULER |
|
256 END_TEST_BLOCK |
|
257 RUN_TEST_STEP -1 UCCControlTE RunCommand \bluetooth\user\UccControlChannelConfig.ini RetrieveSyncTestCaseResult |
|
258 |
|
259 RUN_TEST_STEP -1 UCCControlTE RunCommand \bluetooth\user\UccControlChannelConfig.ini StartSyncTestCase |
|
260 DELAY 5000 |
|
261 START_TEST_BLOCK 500 T_BTUserAPI \bluetooth\user\BT-USER-PhysicalLinkAdapter-PublicApi-Active-Master.ini |
|
262 SHARED_ACTIVE_SCHEDULER |
|
263 RESTORE_OBJECT CBluetoothPhysicalLinks CBluetoothPhysicalLinksData |
|
264 RESTORE_OBJECT CBluetoothSocket CBluetoothSocketData |
|
265 RESTORE_OBJECT RSocketServ RSocketServData |
|
266 COMMAND CBluetoothPhysicalLinksData ~ |
|
267 COMMAND RSocketServData Close |
|
268 COMMAND CBluetoothSocketData Shutdown BT-USER-Authenticate-PublicApi-Active-0002-0002command6Shutdown |
|
269 OUTSTANDING |
|
270 COMMAND CBluetoothSocketData ~ |
|
271 COMMAND CBluetoothSocketData RSocketServerClose |
|
272 END_TEST_BLOCK |
|
273 RUN_TEST_STEP -1 UCCControlTE RunCommand \bluetooth\user\UccControlChannelConfig.ini RetrieveSyncTestCaseResult |
|
274 |
|
275 END_TESTCASE BT-USER-Authenticate-PublicApi-Active-Master-0002 |
|
276 |
|
277 |
|
278 DELAY 2000 |
|
279 // **************************************************************************** |
|
280 // RBluetoothPhysicalLinkAdapter Master (Auto Tests) |
|
281 // **************************************************************************** |
|
282 |
|
283 START_TESTCASE BT-USER-PhysicalLinkAdapter-PublicApi-Active-Master-0001 |
|
284 //! @SYMTestCaseID BT-USER-PhysicalLinkAdapter-PublicApi-Active-Master-0001 |
|
285 //! @SYMAPI RSocketServ, CBluetoothPhysicalLinks, MBluetoothPhysicalLinksNotifier, RBTPhysicalLinkAdapter, CBluetoothSocket, MBluetoothSocketNotifier |
|
286 //! @SYMTestCaseDesc Check whether the physical link adapter is open |
|
287 //! Uses API elements: RSocketServ() and Connect() from RSocketServ |
|
288 //! NewL() and CreateConnection() from CBluetoothPhysicalLinks |
|
289 //! HandleCreateConnectionCompleteL() from MBluetoothPhysicalLinksNotifier |
|
290 //! RBTPhysicalLinkAdapter(), Open()2, IsOpen() and Close() from RBTPhysicalLinkAdapter |
|
291 //! NewL()1 and Connect()1 from CBluetoothSocket |
|
292 //! HandleConnectCompleteL() from MBluetoothSocketNotifier |
|
293 //! @SYMTestActions 1. Create a connection to the RSocket server |
|
294 //! 2. Create the CBluetoothSocket object using NewL()1 (Standard constructor) |
|
295 //! 3. Use the TL2CAPSockAddr in the connect of the CBluetooth object |
|
296 //! 4. HandleConnectCompleteL gets called indicating that connecting the BT connection completed |
|
297 //! 5. Create and start a session on the socket server |
|
298 //! 6. Open a Bluetooth socket using NewL() function. Return KErrNone if successful |
|
299 //! 7. Bring in a new member to the piconet with a device address using CreateConnection() |
|
300 //! function. Return KErrNone if successful |
|
301 //! 8. Return callback HandleCreateConnectionCompleteL() function |
|
302 //! 9. Verify that if return result (decimal 0) from callback function is as expected (decimal 0) |
|
303 //! 10. Create a RBTPhysicalLinkAdapter object using RBTPhysicalLinkAdapter() function |
|
304 //! 11. Check whether the physical link adapter is open using IsOpen() function |
|
305 //! 12. Verify that the result (False) is as expected (False) |
|
306 //! 13. Open a physical link adapter on an existing physical link with a device address |
|
307 //! using Open()2 function. Return KErrNone if successful |
|
308 //! 14. Check whether the physical link adapter is open using IsOpen() function |
|
309 //! 15. Verify that the result (True) is as expected (True) |
|
310 //! 16. Close the physical link adapter using Close() function |
|
311 //! 17. Destroy the physical link adapter object |
|
312 //! |
|
313 //! @SYMTestStatus Implemented |
|
314 //! @SYMTestPriority Critical |
|
315 //! @SYMTestExpectedResults False returned at step 8, True returned at step 11 |
|
316 //! @SYMTestType CIT |
|
317 |
|
318 START_TEST_BLOCK 500 T_BTUserAPI \bluetooth\user\BT-USER-PhysicalLinkAdapter-PublicApi-Active-Master.ini |
|
319 SHARED_ACTIVE_SCHEDULER |
|
320 CREATE_OBJECT CBluetoothSocket CBluetoothSocketData |
|
321 COMMAND CBluetoothSocketData RSocketServerConnect |
|
322 COMMAND CBluetoothSocketData NewL BT-USER-PhysicalLinkAdapter-PublicApi-Active-0001-0001command2NewL |
|
323 STORE CBluetoothSocketData |
|
324 STORE_ACTIVE_SCHEDULER |
|
325 END_TEST_BLOCK |
|
326 |
|
327 RUN_TEST_STEP -1 UCCControlTE RunCommand \bluetooth\user\UccControlChannelConfig.ini StartSyncTestCase |
|
328 DELAY 10000 |
|
329 START_TEST_BLOCK 500 T_BTUserAPI \bluetooth\user\BT-USER-PhysicalLinkAdapter-PublicApi-Active-Master.ini |
|
330 SHARED_ACTIVE_SCHEDULER |
|
331 RESTORE_OBJECT CBluetoothSocket CBluetoothSocketData |
|
332 RESTORE_OBJECT TL2CAPSockAddr TL2CAPSockAddr1 |
|
333 COMMAND CBluetoothSocketData Connect BT-USER-PhysicalLinkAdapter-PublicApi-Active-0001-0002command2Connect |
|
334 OUTSTANDING |
|
335 STORE CBluetoothSocketData |
|
336 STORE TL2CAPSockAddr1 |
|
337 STORE_ACTIVE_SCHEDULER |
|
338 END_TEST_BLOCK |
|
339 RUN_TEST_STEP -1 UCCControlTE RunCommand \bluetooth\user\UccControlChannelConfig.ini RetrieveSyncTestCaseResult |
|
340 |
|
341 RUN_TEST_STEP -1 UCCControlTE RunCommand \bluetooth\user\UccControlChannelConfig.ini StartSyncTestCase |
|
342 START_TEST_BLOCK 500 T_BTUserAPI \bluetooth\user\BT-USER-PhysicalLinkAdapter-PublicApi-Active-Master.ini |
|
343 SHARED_ACTIVE_SCHEDULER |
|
344 CREATE_OBJECT RBTPhysicalLinkAdapter RBTPhysicalLinkAdapterData |
|
345 RESTORE_OBJECT TBTDevAddr TBTDevAddrRemote |
|
346 CREATE_OBJECT RSocketServ RSocketServData |
|
347 CREATE_OBJECT CBluetoothPhysicalLinks CBluetoothPhysicalLinksData |
|
348 COMMAND RSocketServData RSocketServ |
|
349 COMMAND RSocketServData Connect |
|
350 COMMAND CBluetoothPhysicalLinksData NewL BT-USER-PhysicalLinkAdapter-PublicApi-Active-0001-0003command5NewL |
|
351 COMMAND CBluetoothPhysicalLinksData CreateConnection BT-USER-PhysicalLinkAdapter-PublicApi-Active-0001-0003command6CreateConnection |
|
352 OUTSTANDING |
|
353 COMMAND RBTPhysicalLinkAdapterData RBTPhysicalLinkAdapter |
|
354 COMMAND RBTPhysicalLinkAdapterData IsOpen BT-USER-PhysicalLinkAdapter-PublicApi-Active-0001-0003command10IsOpen |
|
355 COMMAND RBTPhysicalLinkAdapterData Open BT-USER-PhysicalLinkAdapter-PublicApi-Active-0001-0003command11Open |
|
356 COMMAND RBTPhysicalLinkAdapterData IsOpen BT-USER-PhysicalLinkAdapter-PublicApi-Active-0001-0003command12IsOpen |
|
357 COMMAND RBTPhysicalLinkAdapterData Close |
|
358 COMMAND RBTPhysicalLinkAdapterData ~ |
|
359 STORE TBTDevAddrRemote |
|
360 STORE RSocketServData |
|
361 STORE CBluetoothPhysicalLinksData |
|
362 STORE_ACTIVE_SCHEDULER |
|
363 END_TEST_BLOCK |
|
364 RUN_TEST_STEP -1 UCCControlTE RunCommand \bluetooth\user\UccControlChannelConfig.ini RetrieveSyncTestCaseResult |
|
365 |
|
366 END_TESTCASE BT-USER-PhysicalLinkAdapter-PublicApi-Active-Master-0001 |
|
367 |
|
368 |
|
369 START_TESTCASE BT-USER-PhysicalLinkAdapter-PublicApi-Active-Master-0002 |
|
370 //! @SYMTestCaseID BT-USER-PhysicalLinkAdapter-PublicApi-Active-Master-0002 |
|
371 //! @SYMAPI RBTPhysicalLinkAdapter |
|
372 //! @SYMTestCaseDesc Start a facility that will continually attempt to put the physical link into Sniff Mode |
|
373 //! Uses API elements: RBTPhysicalLinkAdapter(), Open()2, IsOpen(), PhysicalLinkState(), ActivateSniffRequester() and Close() |
|
374 //! @SYMTestActions 1. Create a RBTPhysicalLinkAdapter object using RBTPhysicalLinkAdapter() function |
|
375 //! 2. Open a physical link adapter on an existing physical link with a device address |
|
376 //! using Open()2 function. Return KErrNone if successful |
|
377 //! 3. Check whether the physical link adapter is open using IsOpen() function |
|
378 //! 4. Verify that the result (True) is as expected (True) |
|
379 //! 5. Get the state of the physical link using PhysicalLinkState() function |
|
380 //! 6. Verify that the result (3178245) is as expected (3178245) |
|
381 //! 7. Start a facility that will continually attempt to put the physical link into Sniff Mode |
|
382 //! using ActivateSniffRequester() function. Return KErrNone if successful |
|
383 //! 8. Get the state of the physical link using PhysicalLinkState() function |
|
384 //! 9. Verify that the result (3178245) is as expected (3178245) |
|
385 //! 10. Close the physical link adapter using Close() function |
|
386 //! 11. Destroy the physical link adapter object |
|
387 //! |
|
388 //! @SYMTestStatus Implemented |
|
389 //! @SYMTestPriority Critical |
|
390 //! @SYMTestExpectedResults KErrNone returned |
|
391 //! @SYMTestType CIT |
|
392 |
|
393 RUN_TEST_STEP -1 UCCControlTE RunCommand \bluetooth\user\UccControlChannelConfig.ini StartSyncTestCase |
|
394 DELAY 5000 |
|
395 START_TEST_BLOCK 500 T_BTUserAPI \bluetooth\user\BT-USER-PhysicalLinkAdapter-PublicApi-Active-Master.ini |
|
396 SHARED_ACTIVE_SCHEDULER |
|
397 CREATE_OBJECT RBTPhysicalLinkAdapter RBTPhysicalLinkAdapterData |
|
398 RESTORE_OBJECT TBTDevAddr TBTDevAddrRemote |
|
399 RESTORE_OBJECT RSocketServ RSocketServData |
|
400 COMMAND RBTPhysicalLinkAdapterData RBTPhysicalLinkAdapter |
|
401 COMMAND RBTPhysicalLinkAdapterData Open BT-USER-PhysicalLinkAdapter-PublicApi-Active-0002-0001command3Open |
|
402 COMMAND RBTPhysicalLinkAdapterData IsOpen BT-USER-PhysicalLinkAdapter-PublicApi-Active-0002-0001command4IsOpen |
|
403 COMMAND RBTPhysicalLinkAdapterData PhysicalLinkState BT-USER-PhysicalLinkAdapter-PublicApi-Active-0002-0001command5PhysicalLinkState |
|
404 COMMAND RBTPhysicalLinkAdapterData ActivateSniffRequester |
|
405 COMMAND RBTPhysicalLinkAdapterData PhysicalLinkState BT-USER-PhysicalLinkAdapter-PublicApi-Active-0002-0001command7PhysicalLinkState |
|
406 COMMAND RBTPhysicalLinkAdapterData Close |
|
407 COMMAND RBTPhysicalLinkAdapterData ~ |
|
408 STORE TBTDevAddrRemote |
|
409 STORE RSocketServData |
|
410 STORE_ACTIVE_SCHEDULER |
|
411 END_TEST_BLOCK |
|
412 RUN_TEST_STEP -1 UCCControlTE RunCommand \bluetooth\user\UccControlChannelConfig.ini RetrieveSyncTestCaseResult |
|
413 |
|
414 END_TESTCASE BT-USER-PhysicalLinkAdapter-PublicApi-Active-Master-0002 |
|
415 |
|
416 |
|
417 START_TESTCASE BT-USER-PhysicalLinkAdapter-PublicApi-Active-Master-0003 |
|
418 //! @SYMTestCaseID BT-USER-PhysicalLinkAdapter-PublicApi-Active-Master-0003 |
|
419 //! @SYMAPI RBTPhysicalLinkAdapter |
|
420 //! @SYMTestCaseDesc Cancel a facility that is continually requesting a low power mode |
|
421 //! Uses API elements: RBTPhysicalLinkAdapter(), Open()2, IsOpen(), PhysicalLinkState(), ActivateParkRequester(), CancelLowPowerModeRequester() and Close() |
|
422 //! @SYMTestActions 1. Create a RBTPhysicalLinkAdapter object using RBTPhysicalLinkAdapter() function |
|
423 //! 2. Open a physical link adapter on an existing physical link with a device address |
|
424 //! using Open()2 function. Return KErrNone if successful |
|
425 //! 3. Check whether the physical link adapter is open using IsOpen() function |
|
426 //! 4. Verify that the result (True) is as expected (True) |
|
427 //! 5. Get the state of the physical link using PhysicalLinkState() function |
|
428 //! 6. Verify that the result (3178245) is as expected (3178245) |
|
429 //! 7. Start a facility that will continually attempt to put the physical link into Park Mode |
|
430 //! using ActivateParkRequester() function. Return KErrNone if successful |
|
431 //! 8. Get the state of the physical link using PhysicalLinkState() function |
|
432 //! 9. Verify that the result (3178245) is as expected (3178245) |
|
433 //! 10. Cancel a facility that is continually requesting a low power mode using CancelLowPowerModeRequester() |
|
434 //! function. Return KErrNone if successful |
|
435 //! 11. Close the physical link adapter using Close() function |
|
436 //! 12. Destroy the physical link adapter object |
|
437 //! |
|
438 //! @SYMTestStatus Implemented |
|
439 //! @SYMTestPriority Critical |
|
440 //! @SYMTestExpectedResults KErrNone returned |
|
441 //! @SYMTestType CIT |
|
442 |
|
443 RUN_TEST_STEP -1 UCCControlTE RunCommand \bluetooth\user\UccControlChannelConfig.ini StartSyncTestCase |
|
444 DELAY 5000 |
|
445 START_TEST_BLOCK 500 T_BTUserAPI \bluetooth\user\BT-USER-PhysicalLinkAdapter-PublicApi-Active-Master.ini |
|
446 SHARED_ACTIVE_SCHEDULER |
|
447 CREATE_OBJECT RBTPhysicalLinkAdapter RBTPhysicalLinkAdapterData |
|
448 RESTORE_OBJECT TBTDevAddr TBTDevAddrRemote |
|
449 RESTORE_OBJECT RSocketServ RSocketServData |
|
450 COMMAND RBTPhysicalLinkAdapterData RBTPhysicalLinkAdapter |
|
451 COMMAND RBTPhysicalLinkAdapterData Open BT-USER-PhysicalLinkAdapter-PublicApi-Active-0003-0001command3Open |
|
452 COMMAND RBTPhysicalLinkAdapterData IsOpen BT-USER-PhysicalLinkAdapter-PublicApi-Active-0003-0001command4IsOpen |
|
453 COMMAND RBTPhysicalLinkAdapterData PhysicalLinkState BT-USER-PhysicalLinkAdapter-PublicApi-Active-0003-0001command5PhysicalLinkState |
|
454 COMMAND RBTPhysicalLinkAdapterData ActivateParkRequester |
|
455 COMMAND RBTPhysicalLinkAdapterData PhysicalLinkState BT-USER-PhysicalLinkAdapter-PublicApi-Active-0003-0001command7PhysicalLinkState |
|
456 COMMAND RBTPhysicalLinkAdapterData CancelLowPowerModeRequester |
|
457 COMMAND RBTPhysicalLinkAdapterData Close |
|
458 COMMAND RBTPhysicalLinkAdapterData ~ |
|
459 STORE TBTDevAddrRemote |
|
460 STORE RSocketServData |
|
461 STORE_ACTIVE_SCHEDULER |
|
462 END_TEST_BLOCK |
|
463 RUN_TEST_STEP -1 UCCControlTE RunCommand \bluetooth\user\UccControlChannelConfig.ini RetrieveSyncTestCaseResult |
|
464 |
|
465 END_TESTCASE BT-USER-PhysicalLinkAdapter-PublicApi-Active-Master-0003 |
|
466 |
|
467 |
|
468 START_TESTCASE BT-USER-PhysicalLinkAdapter-PublicApi-Active-Master-0004 |
|
469 //! @SYMTestCaseID BT-USER-PhysicalLinkAdapter-PublicApi-Active-Master-0004 |
|
470 //! @SYMAPI RBTPhysicalLinkAdapter |
|
471 //! @SYMTestCaseDesc Attempt to be the Bluetooth Master of a Piconet |
|
472 //! Uses API elements: RBTPhysicalLinkAdapter(), Open()2, RequestSlaveRole(), PhysicalLinkState() and Close() |
|
473 //! @SYMTestActions 1. Create a RBTPhysicalLinkAdapter object using RBTPhysicalLinkAdapter() function |
|
474 //! 2. Open a physical link adapter on an existing physical link with a device address |
|
475 //! using Open()2 function. Return KErrNone if successful |
|
476 //! 3. Attempt to be the Bluetooth Slave of a Piconet using RequestSlaveRole() function. |
|
477 //! Return KErrNone if successful |
|
478 //! 4. Get the state of the physical link using PhysicalLinkState() function |
|
479 //! 5. Verify that the result (3178246) is as expected (3178246) |
|
480 //! 6. Close the physical link adapter using Close() function |
|
481 //! 7. Destroy the physical link adapter object |
|
482 //! |
|
483 //! @SYMTestStatus Implemented |
|
484 //! @SYMTestPriority Critical |
|
485 //! @SYMTestExpectedResults KErrNone returned |
|
486 //! @SYMTestType CIT |
|
487 |
|
488 RUN_TEST_STEP -1 UCCControlTE RunCommand \bluetooth\user\UccControlChannelConfig.ini StartSyncTestCase |
|
489 DELAY 5000 |
|
490 START_TEST_BLOCK 500 T_BTUserAPI \bluetooth\user\BT-USER-PhysicalLinkAdapter-PublicApi-Active-Master.ini |
|
491 SHARED_ACTIVE_SCHEDULER |
|
492 CREATE_OBJECT RBTPhysicalLinkAdapter RBTPhysicalLinkAdapterData |
|
493 RESTORE_OBJECT TBTDevAddr TBTDevAddrRemote |
|
494 RESTORE_OBJECT RSocketServ RSocketServData |
|
495 COMMAND RBTPhysicalLinkAdapterData RBTPhysicalLinkAdapter |
|
496 COMMAND RBTPhysicalLinkAdapterData Open BT-USER-PhysicalLinkAdapter-PublicApi-Active-0004-0001command3Open |
|
497 COMMAND RBTPhysicalLinkAdapterData RequestSlaveRole |
|
498 COMMAND RBTPhysicalLinkAdapterData PhysicalLinkState BT-USER-PhysicalLinkAdapter-PublicApi-Active-0004-0001command5PhysicalLinkState |
|
499 COMMAND RBTPhysicalLinkAdapterData Close |
|
500 COMMAND RBTPhysicalLinkAdapterData ~ |
|
501 STORE TBTDevAddrRemote |
|
502 STORE RSocketServData |
|
503 STORE_ACTIVE_SCHEDULER |
|
504 END_TEST_BLOCK |
|
505 RUN_TEST_STEP -1 UCCControlTE RunCommand \bluetooth\user\UccControlChannelConfig.ini RetrieveSyncTestCaseResult |
|
506 |
|
507 END_TESTCASE BT-USER-PhysicalLinkAdapter-PublicApi-Active-Master-0004 |
|
508 |
|
509 |
|
510 START_TESTCASE BT-USER-PhysicalLinkAdapter-PublicApi-Active-Master-0005 |
|
511 //! @SYMTestCaseID BT-USER-PhysicalLinkAdapter-PublicApi-Active-Master-0005 |
|
512 //! @SYMAPI RBTPhysicalLinkAdapter, CBluetoothPhysicalLinks, RSocketServ |
|
513 //! @SYMTestCaseDesc Attempt to be a Bluetooth Slave of a Piconet |
|
514 //! Uses API elements: RBTPhysicalLinkAdapter(), Open()2, RequestSlaveRole(), PhysicalLinkState(), Close() and destructor from RBTPhysicalLinkAdapter |
|
515 //! destructor from CBluetoothPhysicalLinks |
|
516 //! Close() from RSocketServ |
|
517 //! @SYMTestActions 1. Create a RBTPhysicalLinkAdapter object using RBTPhysicalLinkAdapter() function |
|
518 //! 2. Open a physical link adapter on an existing physical link with a device address |
|
519 //! using Open()2 function. Return KErrNone if successful |
|
520 //! 3. Attempt to be a Bluetooth Slave of a Piconet using RequestSlaveRole() function. |
|
521 //! Return KErrNone if successful |
|
522 //! 4. Get the state of the physical link using PhysicalLinkState() function |
|
523 //! 5. Verify that the result (3178246) is as expected (3178246) |
|
524 //! 6. Close the physical link adapter using Close() function |
|
525 //! 7. Destroy the physical link adapter object |
|
526 //! |
|
527 //! @SYMTestStatus Implemented |
|
528 //! @SYMTestPriority Critical |
|
529 //! @SYMTestExpectedResults KErrNone returned |
|
530 //! @SYMTestType CIT |
|
531 |
|
532 RUN_TEST_STEP -1 UCCControlTE RunCommand \bluetooth\user\UccControlChannelConfig.ini StartSyncTestCase |
|
533 DELAY 5000 |
|
534 START_TEST_BLOCK 500 T_BTUserAPI \bluetooth\user\BT-USER-PhysicalLinkAdapter-PublicApi-Active-Master.ini |
|
535 SHARED_ACTIVE_SCHEDULER |
|
536 CREATE_OBJECT RBTPhysicalLinkAdapter RBTPhysicalLinkAdapterData |
|
537 RESTORE_OBJECT TBTDevAddr TBTDevAddrRemote |
|
538 RESTORE_OBJECT RSocketServ RSocketServData |
|
539 COMMAND RBTPhysicalLinkAdapterData RBTPhysicalLinkAdapter |
|
540 COMMAND RBTPhysicalLinkAdapterData Open BT-USER-PhysicalLinkAdapter-PublicApi-Active-0005-0001command3Open |
|
541 COMMAND RBTPhysicalLinkAdapterData RequestSlaveRole |
|
542 COMMAND RBTPhysicalLinkAdapterData PhysicalLinkState BT-USER-PhysicalLinkAdapter-PublicApi-Active-0005-0001command5PhysicalLinkState |
|
543 COMMAND RBTPhysicalLinkAdapterData Close |
|
544 COMMAND RBTPhysicalLinkAdapterData ~ |
|
545 STORE TBTDevAddrRemote |
|
546 STORE RSocketServData |
|
547 STORE_ACTIVE_SCHEDULER |
|
548 END_TEST_BLOCK |
|
549 RUN_TEST_STEP -1 UCCControlTE RunCommand \bluetooth\user\UccControlChannelConfig.ini RetrieveSyncTestCaseResult |
|
550 |
|
551 END_TESTCASE BT-USER-PhysicalLinkAdapter-PublicApi-Active-Master-0005 |
|
552 |
|
553 |
|
554 START_TESTCASE BT-USER-PhysicalLinkAdapter-PublicApi-Active-Master-0006 |
|
555 //! @SYMTestCaseID BT-USER-PhysicalLinkAdapter-PublicApi-Active-Master-0006 |
|
556 //! @SYMAPI RBTPhysicalLinkAdapter |
|
557 //! @SYMTestCaseDesc Start a facility that will continually attempt to put the physical link into Park Mode |
|
558 //! Uses API elements: RBTPhysicalLinkAdapter(), Open()2, IsOpen(), PhysicalLinkState(), NotifyNextBasebandChangeEvent(), CancelNextBasebandChangeEventNotifier(), ActivateParkRequester() and Close() |
|
559 //! @SYMTestActions 1. Create a RBTPhysicalLinkAdapter object using RBTPhysicalLinkAdapter() function |
|
560 //! 2. Open a physical link adapter on an existing physical link with a device address |
|
561 //! using Open()2 function. Return KErrNone if successful |
|
562 //! 3. Check whether the physical link adapter is open using IsOpen() function |
|
563 //! 4. Verify that the result (True) is as expected (True) |
|
564 //! 5. Get the state of the physical link using PhysicalLinkState() function |
|
565 //! 6. Verify that the result (3178246) is as expected (3178246) |
|
566 //! 7. Request a notification with ENotifyParkMode using NotifyNextBasebandChangeEvent() function |
|
567 //! 8. Verify that the result (16) is as expected (16) |
|
568 //! 9. Cancel a currently requested notification using CancelNextBasebandChangeEventNotifier() function |
|
569 //! 10. Start a facility that will continually attempt to put the physical link into Park Mode |
|
570 //! using ActivateParkRequester() function. Return KErrNone if successful |
|
571 //! 11. Get the state of the physical link using PhysicalLinkState() function |
|
572 //! 12. Verify that the result (3178258) is as expected (3178258) |
|
573 //! 13. Close the physical link adapter using Close() function |
|
574 //! 14. Destroy the physical link adapter object |
|
575 //! |
|
576 //! @SYMTestStatus Implemented |
|
577 //! @SYMTestPriority Critical |
|
578 //! @SYMTestExpectedResults KErrCancel returned |
|
579 //! @SYMTestType CIT |
|
580 |
|
581 RUN_TEST_STEP -1 UCCControlTE RunCommand \bluetooth\user\UccControlChannelConfig.ini StartSyncTestCase |
|
582 DELAY 5000 |
|
583 START_TEST_BLOCK 500 T_BTUserAPI \bluetooth\user\BT-USER-PhysicalLinkAdapter-PublicApi-Active-Master.ini |
|
584 SHARED_ACTIVE_SCHEDULER |
|
585 CREATE_OBJECT RBTPhysicalLinkAdapter RBTPhysicalLinkAdapterData |
|
586 RESTORE_OBJECT TBTDevAddr TBTDevAddrRemote |
|
587 RESTORE_OBJECT RSocketServ RSocketServData |
|
588 COMMAND RBTPhysicalLinkAdapterData RBTPhysicalLinkAdapter |
|
589 COMMAND RBTPhysicalLinkAdapterData Open BT-USER-PhysicalLinkAdapter-PublicApi-Active-0006-0001command3Open |
|
590 COMMAND RBTPhysicalLinkAdapterData IsOpen BT-USER-PhysicalLinkAdapter-PublicApi-Active-0006-0001command4IsOpen |
|
591 COMMAND RBTPhysicalLinkAdapterData PhysicalLinkState BT-USER-PhysicalLinkAdapter-PublicApi-Active-0006-0001command5PhysicalLinkState |
|
592 COMMAND !AsyncError=-3 RBTPhysicalLinkAdapterData NotifyNextBasebandChangeEvent BT-USER-PhysicalLinkAdapter-PublicApi-Active-0006-0001command6NotifyNextBasebandChangeEvent |
|
593 COMMAND RBTPhysicalLinkAdapterData CancelNextBasebandChangeEventNotifier |
|
594 OUTSTANDING |
|
595 COMMAND RBTPhysicalLinkAdapterData ActivateParkRequester |
|
596 COMMAND RBTPhysicalLinkAdapterData PhysicalLinkState BT-USER-PhysicalLinkAdapter-PublicApi-Active-0006-0001command10PhysicalLinkState |
|
597 STORE TBTDevAddrRemote |
|
598 STORE RSocketServData |
|
599 STORE RBTPhysicalLinkAdapterData |
|
600 STORE_ACTIVE_SCHEDULER |
|
601 END_TEST_BLOCK |
|
602 RUN_TEST_STEP -1 UCCControlTE RunCommand \bluetooth\user\UccControlChannelConfig.ini RetrieveSyncTestCaseResult |
|
603 RUN_TEST_STEP -1 UCCControlTE RunCommand \bluetooth\user\UccControlChannelConfig.ini StartSyncTestCase |
|
604 DELAY 5000 |
|
605 START_TEST_BLOCK 500 T_BTUserAPI \bluetooth\user\BT-USER-PhysicalLinkAdapter-PublicApi-Active-Master.ini |
|
606 SHARED_ACTIVE_SCHEDULER |
|
607 RESTORE_OBJECT RBTPhysicalLinkAdapter RBTPhysicalLinkAdapterData |
|
608 COMMAND RBTPhysicalLinkAdapterData Close |
|
609 COMMAND RBTPhysicalLinkAdapterData ~ |
|
610 STORE_ACTIVE_SCHEDULER |
|
611 END_TEST_BLOCK |
|
612 RUN_TEST_STEP -1 UCCControlTE RunCommand \bluetooth\user\UccControlChannelConfig.ini RetrieveSyncTestCaseResult |
|
613 |
|
614 |
|
615 END_TESTCASE BT-USER-PhysicalLinkAdapter-PublicApi-Active-Master-0006 |
|
616 |
|
617 |
|
618 START_TESTCASE BT-USER-PhysicalLinkAdapter-PublicApi-Active-Master-0007 |
|
619 //! @SYMTestCaseID BT-USER-PhysicalLinkAdapter-PublicApi-Active-Master-0007 |
|
620 //! @SYMAPI RBTPhysicalLinkAdapter, CBluetoothSocket, MBluetoothSocketNotifier |
|
621 //! @SYMTestCaseDesc Update the set of baseband packet types that are allowed locally |
|
622 //! Uses API elements: RBTPhysicalLinkAdapter(), Open()2, RequestChangeSupportedPacketTypes(), NotifyNextBasebandChangeEvent(), PhysicalLinkState() and Close() from RBTPhysicalLinkAdapter |
|
623 //! Send()1 from CBluetoothSocket |
|
624 //! HandleSendCompleteL() from MBluetoothSocketNotifier |
|
625 //! @SYMTestActions 1. Create a RBTPhysicalLinkAdapter object using RBTPhysicalLinkAdapter() function |
|
626 //! 2. Open a physical link adapter on an existing physical link with a device address |
|
627 //! using Open()2 function. Return KErrNone if successful |
|
628 //! 3. Update the set of baseband packet types that are allowed locally with EPacketsDM1 |
|
629 //! using RequestChangeSupportedPacketTypes() function. Return KErrNone if successful |
|
630 //! 4. Get the state of the physical link using PhysicalLinkState() function |
|
631 //! 5. Verify that the result (3178246) is as expected (3178246) |
|
632 //! 6. Request a notification with ENotifyPacketsDM1 using NotifyNextBasebandChangeEvent() function |
|
633 //! 7. Verify that the result (16) is as expected (16) |
|
634 //! 8. Send data to a remote bluetooth device using Send()1 function. Return KErrNone if successful |
|
635 //! 9. HandleSendCompleteL() gets called verify that there is no error code |
|
636 //! 10. Close the physical link adapter using Close() function |
|
637 //! |
|
638 //! @SYMTestStatus Implemented |
|
639 //! @SYMTestPriority Critical |
|
640 //! @SYMTestExpectedResults KErrNone returned |
|
641 //! @SYMTestType CIT |
|
642 |
|
643 RUN_TEST_STEP -1 UCCControlTE RunCommand \bluetooth\user\UccControlChannelConfig.ini StartSyncTestCase |
|
644 START_TEST_BLOCK 1000 T_BTUserAPI \bluetooth\user\BT-USER-PhysicalLinkAdapter-PublicApi-Active-Master.ini |
|
645 SHARED_ACTIVE_SCHEDULER |
|
646 CREATE_OBJECT RBTPhysicalLinkAdapter RBTPhysicalLinkAdapterData |
|
647 RESTORE_OBJECT TBTDevAddr TBTDevAddrRemote |
|
648 RESTORE_OBJECT RSocketServ RSocketServData |
|
649 RESTORE_OBJECT CBluetoothSocket CBluetoothSocketData |
|
650 COMMAND RBTPhysicalLinkAdapterData RBTPhysicalLinkAdapter |
|
651 COMMAND RBTPhysicalLinkAdapterData Open BT-USER-PhysicalLinkAdapter-PublicApi-Active-0007-0001command3Open |
|
652 COMMAND RBTPhysicalLinkAdapterData PhysicalLinkState BT-USER-PhysicalLinkAdapter-PublicApi-Active-0007-0001command4PhysicalLinkState |
|
653 COMMAND RBTPhysicalLinkAdapterData NotifyNextBasebandChangeEvent BT-USER-PhysicalLinkAdapter-PublicApi-Active-0007-0001command5NotifyNextBasebandChangeEvent |
|
654 COMMAND RBTPhysicalLinkAdapterData RequestChangeSupportedPacketTypes BT-USER-PhysicalLinkAdapter-PublicApi-Active-0007-0001command6RequestChangeSupportedPacketTypes |
|
655 OUTSTANDING |
|
656 COMMAND CBluetoothSocketData Send BT-USER-PhysicalLinkAdapter-PublicApi-Active-0007-0001command9Send |
|
657 OUTSTANDING |
|
658 COMMAND RBTPhysicalLinkAdapterData Close |
|
659 STORE TBTDevAddrRemote |
|
660 STORE RSocketServData |
|
661 STORE CBluetoothSocketData |
|
662 STORE_ACTIVE_SCHEDULER |
|
663 END_TEST_BLOCK |
|
664 RUN_TEST_STEP -1 UCCControlTE RunCommand \bluetooth\user\UccControlChannelConfig.ini RetrieveSyncTestCaseResult |
|
665 |
|
666 END_TESTCASE BT-USER-PhysicalLinkAdapter-PublicApi-Active-Master-0007 |
|
667 |
|
668 |
|
669 // **************************************************************************** |
|
670 // RBluetoothPhysicalLinkAdapter Negative Test Cases |
|
671 // **************************************************************************** |
|
672 |
|
673 START_TESTCASE BT-USER-PhysicalLinkAdapter-PublicApi-Active-Master-0008 |
|
674 //! @SYMTestCaseID BT-USER-PhysicalLinkAdapter-PublicApi-Active-Master-0008 |
|
675 //! @SYMAPI RSocketServ, CBluetoothPhysicalLinks, RBTPhysicalLinkAdapter |
|
676 //! @SYMTestCaseDesc Update an invalid baseband packet type (EPacketsHV1) locally |
|
677 //! Uses API elements: Close() from RSocketServ |
|
678 //! destructor from CBluetoothPhysicalLinks |
|
679 //! RBTPhysicalLinkAdapter(), Open()2, PhysicalLinkState(), RequestChangeSupportedPacketTypes() and Close() from RBTPhysicalLinkAdapter |
|
680 //! @SYMTestActions 1. Create a RBTPhysicalLinkAdapter object using RBTPhysicalLinkAdapter() function |
|
681 //! 2. Open a physical link adapter on an existing physical link with a device address |
|
682 //! using Open()2 function. Return KErrNone if successful |
|
683 //! 3. Get the state of the physical link using PhysicalLinkState() function |
|
684 //! 4. Verify that the result (3146502) is as expected (3146502) |
|
685 //! 5. Update the set of baseband packet types that are allowed locally with EPacketsHV1 |
|
686 //! using RequestChangeSupportedPacketTypes() function. Return KErrNone if successful |
|
687 //! 6. Close the physical link adapter using Close() function |
|
688 //! 7. Destroy the physical link adapter object |
|
689 //! |
|
690 //! @SYMTestStatus Implemented |
|
691 //! @SYMTestPriority Critical |
|
692 //! @SYMTestExpectedResults Error at step 6. KErrArgument(-6) returned |
|
693 //! @SYMTestType CIT |
|
694 |
|
695 RUN_TEST_STEP -1 UCCControlTE RunCommand \bluetooth\user\UccControlChannelConfig.ini StartSyncTestCase |
|
696 START_TEST_BLOCK 500 T_BTUserAPI \bluetooth\user\BT-USER-PhysicalLinkAdapter-PublicApi-Active-Master.ini |
|
697 SHARED_ACTIVE_SCHEDULER |
|
698 CREATE_OBJECT RBTPhysicalLinkAdapter RBTPhysicalLinkAdapterData |
|
699 RESTORE_OBJECT TBTDevAddr TBTDevAddrRemote |
|
700 RESTORE_OBJECT TL2CAPSockAddr TL2CAPSockAddr1 |
|
701 RESTORE_OBJECT RSocketServ RSocketServData |
|
702 COMMAND RBTPhysicalLinkAdapterData RBTPhysicalLinkAdapter |
|
703 COMMAND RBTPhysicalLinkAdapterData Open BT-USER-PhysicalLinkAdapter-PublicApi-Active-0008-0001command7Open |
|
704 COMMAND RBTPhysicalLinkAdapterData PhysicalLinkState BT-USER-PhysicalLinkAdapter-PublicApi-Active-0008-0001command8PhysicalLinkState |
|
705 COMMAND !Error=-6 RBTPhysicalLinkAdapterData RequestChangeSupportedPacketTypes BT-USER-PhysicalLinkAdapter-PublicApi-Active-0008-0001command9RequestChangeSupportedPacketTypes |
|
706 COMMAND RBTPhysicalLinkAdapterData Close |
|
707 COMMAND RBTPhysicalLinkAdapterData ~ |
|
708 STORE TBTDevAddrRemote |
|
709 STORE RSocketServData |
|
710 STORE_ACTIVE_SCHEDULER |
|
711 END_TEST_BLOCK |
|
712 RUN_TEST_STEP -1 UCCControlTE RunCommand \bluetooth\user\UccControlChannelConfig.ini RetrieveSyncTestCaseResult |
|
713 |
|
714 END_TESTCASE BT-USER-PhysicalLinkAdapter-PublicApi-Active-Master-0008 |
|
715 |
|
716 |
|
717 START_TESTCASE BT-USER-PhysicalLinkAdapter-PublicApi-Active-Master-0009 |
|
718 //! @SYMTestCaseID BT-USER-PhysicalLinkAdapter-PublicApi-Active-Master-0009 |
|
719 //! @SYMAPI RSocketServ, CBluetoothPhysicalLinks, MBluetoothPhysicalLinksNotifier, RBTPhysicalLinkAdapter |
|
720 //! @SYMTestCaseDesc Get the state of the physical link without opening a physical link adapter |
|
721 //! Uses API elements: PhysicalLinkState() and Open() from RBTPhysicalLinkAdapter |
|
722 //! @SYMTestActions 1. Get the state of the physical link |
|
723 //! 2. Open a physical link adapter on an existing physical link defined by the remote address |
|
724 //! 3. Get the state of the physical link |
|
725 //! 4. Verify that the result (decimal 3146502) is as expected (decimal 3146502) |
|
726 //! |
|
727 //! @SYMTestStatus Implemented |
|
728 //! @SYMTestPriority Critical |
|
729 //! @SYMTestExpectedResults Error at step 1. KErrNotReady (-18) returned |
|
730 //! @SYMTestType CIT |
|
731 |
|
732 RUN_TEST_STEP -1 UCCControlTE RunCommand \bluetooth\user\UccControlChannelConfig.ini StartSyncTestCase |
|
733 START_TEST_BLOCK 500 T_BTUserAPI \bluetooth\user\BT-USER-PhysicalLinkAdapter-PublicApi-Active-Master.ini |
|
734 SHARED_ACTIVE_SCHEDULER |
|
735 CREATE_OBJECT RBTPhysicalLinkAdapter RBTPhysicalLinkAdapterData |
|
736 RESTORE_OBJECT TBTDevAddr TBTDevAddrRemote |
|
737 RESTORE_OBJECT RSocketServ RSocketServData |
|
738 COMMAND RBTPhysicalLinkAdapterData RBTPhysicalLinkAdapter |
|
739 COMMAND !Error=-18 RBTPhysicalLinkAdapterData PhysicalLinkState BT-USER-PhysicalLinkAdapter-PublicApi-Active-0009-0001command3PhysicalLinkState |
|
740 COMMAND RBTPhysicalLinkAdapterData Open BT-USER-PhysicalLinkAdapter-PublicApi-Active-0009-0001command4Open |
|
741 COMMAND RBTPhysicalLinkAdapterData PhysicalLinkState BT-USER-PhysicalLinkAdapter-PublicApi-Active-0009-0001command5PhysicalLinkState |
|
742 STORE RBTPhysicalLinkAdapterData |
|
743 STORE RSocketServData |
|
744 STORE_ACTIVE_SCHEDULER |
|
745 END_TEST_BLOCK |
|
746 RUN_TEST_STEP -1 UCCControlTE RunCommand \bluetooth\user\UccControlChannelConfig.ini RetrieveSyncTestCaseResult |
|
747 |
|
748 END_TESTCASE BT-USER-PhysicalLinkAdapter-PublicApi-Active-Master-0009 |
|
749 |
|
750 |
|
751 START_TESTCASE BT-USER-PhysicalLinkAdapter-PublicApi-Active-Master-0010 |
|
752 //! @SYMTestCaseID BT-USER-PhysicalLinkAdapter-PublicApi-Active-Master-0010 |
|
753 //! @SYMAPI RBTPhysicalLinkAdapter |
|
754 //! @SYMTestCaseDesc Attempt to be a Bluetooth Master of a piconet without opening a physical link adapter |
|
755 //! Uses API elements: AllowRoleSwitch() and Close() from RBTPhysicalLinkAdapter |
|
756 //! @SYMTestActions 1. Close the physical link adapter |
|
757 //! 2. Attempt to be a Bluetooth Master of a piconet and return KErrNone if successful |
|
758 //! |
|
759 //! @SYMTestStatus Implemented |
|
760 //! @SYMTestPriority Critical |
|
761 //! @SYMTestExpectedResults Error at Step 2. KErrNotReady (-18) returned |
|
762 //! @SYMTestType CIT |
|
763 |
|
764 START_TEST_BLOCK 500 T_BTUserAPI \bluetooth\user\BT-USER-PhysicalLinkAdapter-PublicApi-Active-Master.ini |
|
765 SHARED_ACTIVE_SCHEDULER |
|
766 RESTORE_OBJECT RBTPhysicalLinkAdapter RBTPhysicalLinkAdapterData |
|
767 COMMAND RBTPhysicalLinkAdapterData Close |
|
768 COMMAND !Error=-18 RBTPhysicalLinkAdapterData RequestMasterRole |
|
769 STORE RBTPhysicalLinkAdapterData |
|
770 STORE_ACTIVE_SCHEDULER |
|
771 END_TEST_BLOCK |
|
772 |
|
773 END_TESTCASE BT-USER-PhysicalLinkAdapter-PublicApi-Active-Master-0010 |
|
774 |
|
775 |
|
776 START_TESTCASE BT-USER-PhysicalLinkAdapter-PublicApi-Active-Master-0011 |
|
777 //! @SYMTestCaseID BT-USER-PhysicalLinkAdapter-PublicApi-Active-Master-0011 |
|
778 //! @SYMAPI RBTPhysicalLinkAdapter |
|
779 //! @SYMTestCaseDesc Ensure not to block the use of a specified set of low power modes without opening a physcial link adapter |
|
780 //! Uses API elements: IsOpen() and AllowLowPowerModes() from RBTPhysicalLinkAdapter |
|
781 //! @SYMTestActions 1. Verify that if a physical link adapter has not been opened and returned result (false) is as expected |
|
782 //! 2. Ensure this object does not block the use of a specified set (EAnyLowPowerMode) of low power modes |
|
783 //! |
|
784 //! @SYMTestStatus Implemented |
|
785 //! @SYMTestPriority Critical |
|
786 //! @SYMTestExpectedResults Error at step 2. KErrNotReady (-18) returned |
|
787 //! @SYMTestType CIT |
|
788 |
|
789 |
|
790 START_TEST_BLOCK 500 T_BTUserAPI \bluetooth\user\BT-USER-PhysicalLinkAdapter-PublicApi-Active-Master.ini |
|
791 SHARED_ACTIVE_SCHEDULER |
|
792 RESTORE_OBJECT RBTPhysicalLinkAdapter RBTPhysicalLinkAdapterData |
|
793 COMMAND RBTPhysicalLinkAdapterData IsOpen BT-USER-PhysicalLinkAdapter-PublicApi-Active-0011-0001command1IsOpen |
|
794 COMMAND !Error=-18 RBTPhysicalLinkAdapterData AllowLowPowerModes BT-USER-PhysicalLinkAdapter-PublicApi-Active-0011-0001command2AllowLowPowerModes |
|
795 STORE RBTPhysicalLinkAdapterData |
|
796 STORE_ACTIVE_SCHEDULER |
|
797 END_TEST_BLOCK |
|
798 END_TESTCASE BT-USER-PhysicalLinkAdapter-PublicApi-Active-Master-0011 |
|
799 |
|
800 |
|
801 START_TESTCASE BT-USER-PhysicalLinkAdapter-PublicApi-Active-Master-0012 |
|
802 //! @SYMTestCaseID BT-USER-PhysicalLinkAdapter-PublicApi-Active-Master-0012 |
|
803 //! @SYMAPI RBTPhysicalLinkAdapterData |
|
804 //! @SYMTestCaseDesc Start a facility that will continually attempt to put the physical link into Active Mode without opening a physical link adapter |
|
805 //! Uses API elements: ActivateActiveRequester() from RBTPhysicalLinkAdapter |
|
806 //! @SYMTestActions Start a facility that will continually attempt to put the physical link into Active Mode |
|
807 //! @SYMTestStatus Implemented |
|
808 //! @SYMTestPriority Critical |
|
809 //! @SYMTestExpectedResults KErrNotReady (-18) returned |
|
810 //! @SYMTestType CIT |
|
811 |
|
812 START_TEST_BLOCK 500 T_BTUserAPI \bluetooth\user\BT-USER-PhysicalLinkAdapter-PublicApi-Active-Master.ini |
|
813 SHARED_ACTIVE_SCHEDULER |
|
814 RESTORE_OBJECT RBTPhysicalLinkAdapter RBTPhysicalLinkAdapterData |
|
815 COMMAND !Error=-18 RBTPhysicalLinkAdapterData ActivateActiveRequester |
|
816 STORE RBTPhysicalLinkAdapterData |
|
817 STORE_ACTIVE_SCHEDULER |
|
818 END_TEST_BLOCK |
|
819 |
|
820 END_TESTCASE BT-USER-PhysicalLinkAdapter-PublicApi-Active-Master-0012 |
|
821 |
|
822 |
|
823 START_TESTCASE BT-USER-PhysicalLinkAdapter-PublicApi-Active-Master-0013 |
|
824 //! @SYMTestCaseID BT-USER-PhysicalLinkAdapter-PublicApi-Active-Master-0013 |
|
825 //! @SYMAPI RBTPhysicalLinkAdapterData |
|
826 //! @SYMTestCaseDesc Block the use of a specified set of low power modes without opening a physical link adapter |
|
827 //! Uses API elements: IsOpen() and PreventLowPowerModes() from RBTPhysicalLinkAdapter |
|
828 //! @SYMTestActions 1. Verify that if a physical link adapter has not been opened and returned result (false) is as expected |
|
829 //! 2. Block the use of a specified set of low power modes (EParkMode) |
|
830 //! |
|
831 //! @SYMTestStatus Implemented |
|
832 //! @SYMTestPriority Critical |
|
833 //! @SYMTestExpectedResults Error at step 2. KErrNotReady (-18) returned |
|
834 //! @SYMTestType CIT |
|
835 |
|
836 START_TEST_BLOCK 500 T_BTUserAPI \bluetooth\user\BT-USER-PhysicalLinkAdapter-PublicApi-Active-Master.ini |
|
837 SHARED_ACTIVE_SCHEDULER |
|
838 RESTORE_OBJECT RBTPhysicalLinkAdapter RBTPhysicalLinkAdapterData |
|
839 COMMAND RBTPhysicalLinkAdapterData IsOpen BT-USER-PhysicalLinkAdapter-PublicApi-Active-0013-0001command1IsOpen |
|
840 COMMAND !Error=-18 RBTPhysicalLinkAdapterData PreventLowPowerModes BT-USER-PhysicalLinkAdapter-PublicApi-Active-0013-0001command2PreventLowPowerModes |
|
841 STORE RBTPhysicalLinkAdapterData |
|
842 STORE_ACTIVE_SCHEDULER |
|
843 END_TEST_BLOCK |
|
844 |
|
845 END_TESTCASE BT-USER-PhysicalLinkAdapter-PublicApi-Active-Master-0013 |
|
846 |
|
847 |
|
848 START_TESTCASE BT-USER-PhysicalLinkAdapter-PublicApi-Active-Master-0014 |
|
849 //! @SYMTestCaseID BT-USER-PhysicalLinkAdapter-PublicApi-Active-Master-0014 |
|
850 //! @SYMAPI RBTPhysicalLinkAdapterData |
|
851 //! @SYMTestCaseDesc Start a facility that will continually attempt to put the physical link into Sniff Mode without opening a physical link adapter |
|
852 //! Uses API elements: IsOpen() and ActivateSniffRequester() from RBTPhysicalLinkAdapter |
|
853 //! @SYMTestActions Start a facility that will continually attempt to put the physical link into Sniff Mode |
|
854 //! |
|
855 //! @SYMTestStatus Implemented |
|
856 //! @SYMTestPriority Critical |
|
857 //! @SYMTestExpectedResults ErrNotReady (-18) returned |
|
858 //! @SYMTestType CIT |
|
859 |
|
860 START_TEST_BLOCK 500 T_BTUserAPI \bluetooth\user\BT-USER-PhysicalLinkAdapter-PublicApi-Active-Master.ini |
|
861 SHARED_ACTIVE_SCHEDULER |
|
862 RESTORE_OBJECT RBTPhysicalLinkAdapter RBTPhysicalLinkAdapterData |
|
863 COMMAND !Error=-18 RBTPhysicalLinkAdapterData ActivateSniffRequester |
|
864 STORE RBTPhysicalLinkAdapterData |
|
865 STORE_ACTIVE_SCHEDULER |
|
866 END_TEST_BLOCK |
|
867 |
|
868 END_TESTCASE BT-USER-PhysicalLinkAdapter-PublicApi-Active-Master-0014 |
|
869 |
|
870 |
|
871 START_TESTCASE BT-USER-PhysicalLinkAdapter-PublicApi-Active-Master-0015 |
|
872 //! @SYMTestCaseID BT-USER-PhysicalLinkAdapter-PublicApi-Active-Master-0015 |
|
873 //! @SYMAPI RBTPhysicalLinkAdapterData |
|
874 //! @SYMTestCaseDesc Start a facility that will continually attempt to put the physical link into Park Mode without opening a physical link adapter |
|
875 //! Uses API elements: IsOpen() and ActivateParkRequester(), CancelNextBasebandChangeEventNotifier(), Close() and destructor from RBTPhysicalLinkAdapter |
|
876 //! Destructor() from CBluetoothSocket |
|
877 //! Destructor() from CBluetoothPhysicalLinks |
|
878 //! Close() from RSocketServ |
|
879 //! @SYMTestActions 1. Verify that if a physical link adapter has not been opened and returned result (false) is as expected |
|
880 //! 2. Start a facility that will continually attempt to put the physical link into Park Mode |
|
881 //! 3. Cancel a currently requested notification using CancelNextBasebandChangeEventNotifier() function |
|
882 //! 4. Close the physical link adapter using Close() function |
|
883 //! 5. Destroy the physical link adapter object |
|
884 //! 6. Delete CBluetoothSocket object |
|
885 //! 7. Delete CBluetoothPhysicalLink object |
|
886 //! 8. Close RSocket object |
|
887 //! |
|
888 //! @SYMTestStatus Implemented |
|
889 //! @SYMTestPriority Critical |
|
890 //! @SYMTestExpectedResults Error at step 2. ErrNotReady (-18) returned |
|
891 //! @SYMTestType CIT |
|
892 |
|
893 RUN_TEST_STEP -1 UCCControlTE RunCommand \bluetooth\user\UccControlChannelConfig.ini StartSyncTestCase |
|
894 DELAY 10000 |
|
895 START_TEST_BLOCK 500 T_BTUserAPI \bluetooth\user\BT-USER-PhysicalLinkAdapter-PublicApi-Active-Master.ini |
|
896 SHARED_ACTIVE_SCHEDULER |
|
897 RESTORE_OBJECT RBTPhysicalLinkAdapter RBTPhysicalLinkAdapterData |
|
898 RESTORE_OBJECT CBluetoothSocket CBluetoothSocketData |
|
899 RESTORE_OBJECT CBluetoothPhysicalLinks CBluetoothPhysicalLinksData |
|
900 RESTORE_OBJECT RSocketServ RSocketServData |
|
901 COMMAND RBTPhysicalLinkAdapterData IsOpen BT-USER-PhysicalLinkAdapter-PublicApi-Active-0015-0001command2IsOpen |
|
902 COMMAND !Error=-18 RBTPhysicalLinkAdapterData ActivateParkRequester |
|
903 COMMAND RBTPhysicalLinkAdapterData CancelNextBasebandChangeEventNotifier |
|
904 COMMAND RBTPhysicalLinkAdapterData Close |
|
905 COMMAND RBTPhysicalLinkAdapterData ~ |
|
906 COMMAND CBluetoothPhysicalLinksData ~ |
|
907 COMMAND CBluetoothSocketData ~ |
|
908 COMMAND CBluetoothSocketData RSocketServerClose |
|
909 COMMAND RSocketServData Close |
|
910 STORE_ACTIVE_SCHEDULER |
|
911 END_TEST_BLOCK |
|
912 RUN_TEST_STEP -1 UCCControlTE RunCommand \bluetooth\user\UccControlChannelConfig.ini RetrieveSyncTestCaseResult |
|
913 |
|
914 END_TESTCASE BT-USER-PhysicalLinkAdapter-PublicApi-Active-Master-0015 |
|
915 |
|
916 |
|
917 RUN_TEST_STEP -1 UCCControlTE RunCommand \bluetooth\user\UccControlChannelConfig.ini RetrieveExecutionResultAdapterPassiveSlave |
|
918 RUN_TEST_STEP -1 UCCControlTE RunCommand \bluetooth\user\UccControlChannelConfig.ini StopTDService |
|
919 RUN_TEST_STEP -1 UCCControlTE RunCommand \bluetooth\user\UccControlChannelConfig.ini StopSyncService |