Commit 1b539bf8 authored by Saurabh Nijhara's avatar Saurabh Nijhara Committed by Commit Bot

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: default avatarMaksim Ivanov <emaxx@chromium.org>
Commit-Queue: Saurabh Nijhara <snijhara@google.com>
Cr-Commit-Position: refs/heads/master@{#805278}
parent 589601f2
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment