diff -r 000000000000 -r 6474c204b198 dom/bluetooth/tests/marionette/test_dom_BluetoothManager_adapteradded.js --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/dom/bluetooth/tests/marionette/test_dom_BluetoothManager_adapteradded.js Wed Dec 31 06:09:35 2014 +0100 @@ -0,0 +1,19 @@ +/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- + * vim: sw=2 ts=2 sts=2 et filetype=javascript + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this file, + * You can obtain one at http://mozilla.org/MPL/2.0/. */ + +MARIONETTE_TIMEOUT = 60000; +MARIONETTE_HEAD_JS = 'head.js'; + +startBluetoothTest(true, function testCaseMain(aAdapter) { + log("Checking adapter attributes ..."); + + is(aAdapter.name, EMULATOR_NAME, "adapter.name"); + is(aAdapter.class, EMULATOR_CLASS, "adapter.class"); + is(aAdapter.address, EMULATOR_ADDRESS, "adapter.address"); + is(aAdapter.discovering, false, "adapter.discovering"); + is(aAdapter.discoverable, false, "adapter.discoverable"); + is(aAdapter.discoverableTimeout, 120, "adapter.discoverableTimeout"); +});