Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(183)

Side by Side Diff: chrome/test/data/webui/bluetooth_internals_browsertest.js

Issue 2789153003: Disable BluetoothInternalsTest.Startup_BluetoothInternals on Debug Mac&Linux (Closed)
Patch Set: Disable BluetoothInternalsTest.MAYBE_Startup_BluetoothInternals Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 /** 5 /**
6 * @fileoverview Tests for chrome://bluetooth-internals 6 * @fileoverview Tests for chrome://bluetooth-internals
7 */ 7 */
8 8
9 /** @const {string} Path to source root. */ 9 /** @const {string} Path to source root. */
10 var ROOT_PATH = '../../../../'; 10 var ROOT_PATH = '../../../../';
(...skipping 289 matching lines...) Expand 10 before | Expand all | Expand 10 after
300 return { 300 return {
301 id: 'characteristic1', 301 id: 'characteristic1',
302 uuid: '00002a19-0000-1000-8000-00805f9b34fb', 302 uuid: '00002a19-0000-1000-8000-00805f9b34fb',
303 properties: Number.MAX_SAFE_INTEGER, 303 properties: Number.MAX_SAFE_INTEGER,
304 permissions: Number.MAX_SAFE_INTEGER, 304 permissions: Number.MAX_SAFE_INTEGER,
305 last_known_value: [], 305 last_known_value: [],
306 }; 306 };
307 }, 307 },
308 }; 308 };
309 309
310 TEST_F('BluetoothInternalsTest', 'Startup_BluetoothInternals', function() { 310 // Flaky on Mac & Linux in Debug. See crbug.com/707824
311 GEN('#if !defined(NDEBUG) && (defined(OS_MACOSX) || defined(OS_LINUX))');
312 GEN('#define MAYBE_Startup_BluetoothInternals ' +
313 'DISABLED_Startup_BluetoothInternals');
314 GEN('#else');
315 GEN('#define MAYBE_Startup_BluetoothInternals Startup_BluetoothInternals');
316 GEN('#endif');
317
318 TEST_F('BluetoothInternalsTest', 'MAYBE_Startup_BluetoothInternals',
319 function() {
311 /** @const */ var PageManager = cr.ui.pageManager.PageManager; 320 /** @const */ var PageManager = cr.ui.pageManager.PageManager;
312 321
313 var adapterFactory = null; 322 var adapterFactory = null;
314 var adapterFieldSet = null; 323 var adapterFieldSet = null;
315 var deviceTable = null; 324 var deviceTable = null;
316 var sidebarNode = null; 325 var sidebarNode = null;
317 var pageNames = ['adapter', 'devices']; 326 var pageNames = ['adapter', 'devices'];
318 327
319 var fakeAdapterInfo = this.fakeAdapterInfo; 328 var fakeAdapterInfo = this.fakeAdapterInfo;
320 var fakeDeviceInfo1 = this.fakeDeviceInfo1; 329 var fakeDeviceInfo1 = this.fakeDeviceInfo1;
(...skipping 612 matching lines...) Expand 10 before | Expand all | Expand 10 after
933 test('ValueControl_ConvertValue_Decimal_ThreeValues', function() { 942 test('ValueControl_ConvertValue_Decimal_ThreeValues', function() {
934 valueControl.typeSelect_.value = ValueDataType.DECIMAL 943 valueControl.typeSelect_.value = ValueDataType.DECIMAL
935 valueControl.value_.setAs(ValueDataType.DECIMAL, '97-98-99' /* abc */); 944 valueControl.value_.setAs(ValueDataType.DECIMAL, '97-98-99' /* abc */);
936 expectDeepEquals([aCode, bCode, cCode], valueControl.value_.getArray()); 945 expectDeepEquals([aCode, bCode, cCode], valueControl.value_.getArray());
937 }); 946 });
938 }); 947 });
939 948
940 // Run all registered tests. 949 // Run all registered tests.
941 mocha.run(); 950 mocha.run();
942 }); 951 });
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698