Refactor PasswordManagerPorter tests |
|
Issue descriptionCurrently the tests are a stub. We mock half of PasswordManagerPorter and test that the unmocked half calls the other half. We should not have to mock the class under testing. Plan: 1. password_manager::PasswordExporter and password_manager::PasswordImporter into mockable classes. 2. Refactor PasswordManagerPorter to expect calls on injected mocks instead of the class under test. |
|
►
Sign in to add a comment |
|
Comment 1 by bugdroid1@chromium.org
, Nov 9 2017