Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(19)

Side by Side Diff: extensions/test/data/api_test/bluetooth_socket/connect/runtest.js

Issue 902213002: Move BluetoothSocketApiTest into extensions_browsertests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 var address = '11:12:13:14:15:16'; 5 var address = '11:12:13:14:15:16';
6 var uuid = '8e3ad063-db38-4289-aa8f-b30e4223cf40'; 6 var uuid = '8e3ad063-db38-4289-aa8f-b30e4223cf40';
7 7
8 function testConnect() { 8 function testConnect() {
9 chrome.test.assertEq(1, sockets.length); 9 chrome.test.assertEq(1, sockets.length);
10 chrome.test.assertEq(socketId, sockets[0].socketId); 10 chrome.test.assertEq(socketId, sockets[0].socketId);
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 socketId = socket.socketId; 83 socketId = socket.socketId;
84 84
85 // Run some error checks. 85 // Run some error checks.
86 runSocketErrorTests( 86 runSocketErrorTests(
87 function() { 87 function() {
88 chrome.bluetoothSocket.disconnect(socket.socketId); 88 chrome.bluetoothSocket.disconnect(socket.socketId);
89 chrome.test.sendMessage('ready', startTests); 89 chrome.test.sendMessage('ready', startTests);
90 }); 90 });
91 }); 91 });
92 }); 92 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698