Index: chrome/test/data/extensions/api_test/bluetooth/on_connection/runtest.js |
diff --git a/chrome/test/data/extensions/api_test/bluetooth/on_connection/runtest.js b/chrome/test/data/extensions/api_test/bluetooth/on_connection/runtest.js |
deleted file mode 100644 |
index d5325442c9d154a69278149554305c3eab2a7b0f..0000000000000000000000000000000000000000 |
--- a/chrome/test/data/extensions/api_test/bluetooth/on_connection/runtest.js |
+++ /dev/null |
@@ -1,28 +0,0 @@ |
-// Copyright 2013 The Chromium Authors. All rights reserved. |
-// Use of this source code is governed by a BSD-style license that can be |
-// found in the LICENSE file. |
- |
-var deviceName; |
-var deviceAddress; |
-var profileUuid; |
- |
-function testOnConnectionEvent() { |
- chrome.test.assertEq('d1', deviceName); |
- chrome.test.assertEq('11:12:13:14:15:16', deviceAddress); |
- chrome.test.assertEq('00001234-0000-1000-8000-00805f9b34fb', profileUuid); |
- |
- chrome.test.succeed(); |
-} |
- |
-chrome.bluetooth.onConnection.addListener( |
- function(socket) { |
- deviceName = socket.device.name; |
- deviceAddress = socket.device.address; |
- profileUuid = socket.uuid; |
- chrome.bluetooth.disconnect({'socketId': socket.id}); |
- }); |
- |
-chrome.test.sendMessage('ready', |
- function(message) { |
- chrome.test.runTests([testOnConnectionEvent]); |
- }); |