Refactor IdentityManager unittests to lessen duplicate code.
This CL just extracts some commonly-used logic into helper functions in preparation for introducing several more unittests that use this logic extremely heavily. There is more such extraction that could be performed for different pieces of code; this CL just focuses on the pieces that are relevant for the upcoming unittests. Change-Id: I83f86faa4679dc0639cc1abff561b640baff5816 Reviewed-on: https://chromium-review.googlesource.com/1101687 Commit-Queue: Colin Blundell <blundell@chromium.org> Reviewed-by:Marc Treib <treib@chromium.org> Cr-Commit-Position: refs/heads/master@{#569233}
Showing
This diff is collapsed.
Please register or sign in to comment