Cleanup DeviceMinimumVersion unit tests
Most of the unit tests only require a single requirement in the policy value and the code to create such policy value is getting repeated in all tests. Now, extracting the code to create policy value into a function. Bug: 1126163 Change-Id: Ib4bd5743420c9dc962ca37216b9c2e0d9e3adb7b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2398721Reviewed-by:Maksim Ivanov <emaxx@chromium.org> Commit-Queue: Saurabh Nijhara <snijhara@google.com> Cr-Commit-Position: refs/heads/master@{#805278}
Showing
This diff is collapsed.
Please register or sign in to comment