| OLD | NEW |
| 1 // Copyright 2015 The Chromium OS Authors. All rights reserved. | 1 // Copyright 2015 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 'use strict'; | 5 'use strict'; |
| 6 | 6 |
| 7 describe('PassphraseManager', function() { | 7 describe('PassphraseManager', function() { |
| 8 var passphraseWindow = null; | 8 var passphraseWindow = null; |
| 9 var passphraseWindowLoadCallback = null; | 9 var passphraseWindowLoadCallback = null; |
| 10 | 10 |
| 11 beforeEach(function() { | 11 beforeEach(function() { |
| (...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 150 passphraseManager.getPassphrase().then( | 150 passphraseManager.getPassphrase().then( |
| 151 test_utils.forceFailure, | 151 test_utils.forceFailure, |
| 152 function(error) { | 152 function(error) { |
| 153 expect(error).to.equal('FAILED'); | 153 expect(error).to.equal('FAILED'); |
| 154 expect(passphraseManager.rememberedPassphrase).to.be.null; | 154 expect(passphraseManager.rememberedPassphrase).to.be.null; |
| 155 done(); | 155 done(); |
| 156 }); | 156 }); |
| 157 }); | 157 }); |
| 158 }); | 158 }); |
| 159 }); | 159 }); |
| OLD | NEW |