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

Side by Side Diff: chrome/browser/ui/webui/options/managed_user_set_passphrase_browsertest.js

Issue 12217132: Revert 181898 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 7 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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 GEN('#include "chrome/browser/ui/webui/options/' + 5 GEN('#include "chrome/browser/ui/webui/options/' +
6 'managed_user_set_passphrase_test.h"'); 6 'managed_user_set_passphrase_test.h"');
7 7
8 /** 8 /**
9 * Test fixture for managed user set passphrase WebUI testing. 9 * Test fixture for managed user set passphrase WebUI testing.
10 * @constructor 10 * @constructor
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 // Verify that the confirm passphrase input needs to contain the same 94 // Verify that the confirm passphrase input needs to contain the same
95 // passphrase as the passphrase input. 95 // passphrase as the passphrase input.
96 TEST_F('ManagedUserSetPassphraseTest', 'DifferentPassphrase', 96 TEST_F('ManagedUserSetPassphraseTest', 'DifferentPassphrase',
97 function() { 97 function() {
98 this.setPassphrase(); 98 this.setPassphrase();
99 this.enterPassphrase('test_passphrase'); 99 this.enterPassphrase('test_passphrase');
100 this.confirmPassphrase('confirm_passphrase'); 100 this.confirmPassphrase('confirm_passphrase');
101 this.mockHandler.expects(never()).setPassphrase(ANYTHING); 101 this.mockHandler.expects(never()).setPassphrase(ANYTHING);
102 this.savePassphrase(); 102 this.savePassphrase();
103 }); 103 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698