1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 function testGetProfiles() {
6 chrome.test.assertEq(2, profiles.length);
7 chrome.test.assertEq('1234', profiles[0].uuid);
8 chrome.test.assertEq('5678', profiles[1].uuid);
14 function failOnError() {
15 if (chrome.runtime.lastError) {
16 chrome.test.fail(chrome.runtime.lastError.message);
20 chrome.bluetooth.getProfiles(
24 address: '11:12:13:14:15:16',
33 chrome.test.sendMessage('ready',
35 chrome.test.runTests([testGetProfiles]);