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