Fix sharded QuickUnlockPrivateUnitTest
These tests would often fail when run in parallel, but would always pass in isolation. This change fixes the tests via proper use of SetUp and TearDown, and moves some initialization of EasyUnlockServiceRegular from the ctor to InitializeInternal(). This also removes some virtual method calls from the ctor, as per the style guide: "Constructors should never call virtual functions" Bug: none Change-Id: Ibdb8628778105ed242c137ffa5ee12ffa018b06e Reviewed-on: https://chromium-review.googlesource.com/c/1493072 Commit-Queue: Ryan Hansberry <hansberry@chromium.org> Auto-Submit: Evan Stade <estade@chromium.org> Reviewed-by:Steven Bennetts <stevenjb@chromium.org> Reviewed-by:
Ryan Hansberry <hansberry@chromium.org> Cr-Commit-Position: refs/heads/master@{#636590}
Showing
Please register or sign in to comment