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

Side by Side Diff: chrome/test/data/webui/settings/quick_unlock_authenticate_browsertest_chromeos.js

Issue 2675863003: MD Settings: Fix quick_unlock_authenticate tests in Vulcanized mode. (Closed)
Patch Set: Created 3 years, 10 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 | « chrome/browser/resources/settings/people_page/setup_pin_dialog.html ('k') | 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 cr.define('settings_people_page_quick_unlock', function() { 5 cr.define('settings_people_page_quick_unlock', function() {
6 var element = null; 6 var element = null;
7 var quickUnlockPrivateApi = null; 7 var quickUnlockPrivateApi = null;
8 var QuickUnlockMode = chrome.quickUnlockPrivate.QuickUnlockMode; 8 var QuickUnlockMode = chrome.quickUnlockPrivate.QuickUnlockMode;
9 var fakeUma = null; 9 var fakeUma = null;
10 10
(...skipping 306 matching lines...) Expand 10 before | Expand all | Expand 10 after
317 } 317 }
318 318
319 function registerSetupPinDialogTests() { 319 function registerSetupPinDialogTests() {
320 suite('setup-pin-dialog', function() { 320 suite('setup-pin-dialog', function() {
321 var titleDiv = null; 321 var titleDiv = null;
322 var problemDiv = null; 322 var problemDiv = null;
323 var pinKeyboard = null; 323 var pinKeyboard = null;
324 var backButton = null; 324 var backButton = null;
325 var continueButton = null; 325 var continueButton = null;
326 326
327 suiteSetup(function() {
328 var urls = ['chrome://md-settings/i18n_setup.html'];
329 return Promise.all(urls.map(PolymerTest.importHtml));
330 });
331
332 setup(function() { 327 setup(function() {
333 PolymerTest.clearBody(); 328 PolymerTest.clearBody();
334 329
335 quickUnlockPrivateApi = new settings.FakeQuickUnlockPrivate(); 330 quickUnlockPrivateApi = new settings.FakeQuickUnlockPrivate();
336 fakeUma = new settings.FakeQuickUnlockUma(); 331 fakeUma = new settings.FakeQuickUnlockUma();
337 332
338 // Create setup-pin element. 333 // Create setup-pin element.
339 element = document.createElement('settings-setup-pin-dialog'); 334 element = document.createElement('settings-setup-pin-dialog');
340 element.quickUnlockPrivate_ = quickUnlockPrivateApi; 335 element.quickUnlockPrivate_ = quickUnlockPrivateApi;
341 element.setModes = 336 element.setModes =
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after
498 }); 493 });
499 }); 494 });
500 } 495 }
501 496
502 return { 497 return {
503 registerAuthenticateTests: registerAuthenticateTests, 498 registerAuthenticateTests: registerAuthenticateTests,
504 registerLockScreenTests: registerLockScreenTests, 499 registerLockScreenTests: registerLockScreenTests,
505 registerSetupPinDialogTests: registerSetupPinDialogTests 500 registerSetupPinDialogTests: registerSetupPinDialogTests
506 }; 501 };
507 }); 502 });
OLDNEW
« no previous file with comments | « chrome/browser/resources/settings/people_page/setup_pin_dialog.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698