| Index: chrome/test/data/extensions/api_test/bluetooth/get_devices_error/runtest.js
|
| diff --git a/chrome/test/data/extensions/api_test/bluetooth/get_devices_error/runtest.js b/chrome/test/data/extensions/api_test/bluetooth/get_devices_error/runtest.js
|
| deleted file mode 100644
|
| index 5cae206327e0a14b310f75e9f65ba58abddbfcf9..0000000000000000000000000000000000000000
|
| --- a/chrome/test/data/extensions/api_test/bluetooth/get_devices_error/runtest.js
|
| +++ /dev/null
|
| @@ -1,24 +0,0 @@
|
| -// Copyright (c) 2012 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.
|
| -
|
| -function testGetDevicesReturnsError() {
|
| - chrome.test.assertEq("Invalid UUID", error);
|
| - chrome.test.succeed();
|
| -}
|
| -
|
| -var error = "";
|
| -chrome.bluetooth.getDevices(
|
| - {
|
| - profile: {uuid:'this is nonsense'},
|
| - deviceCallback: function() {}
|
| - },
|
| - function() {
|
| - if (chrome.runtime.lastError) {
|
| - error = chrome.runtime.lastError.message;
|
| - }
|
| - chrome.test.sendMessage('ready',
|
| - function(message) {
|
| - chrome.test.runTests([testGetDevicesReturnsError]);
|
| - });
|
| - });
|
|
|