• Saurabh Nijhara's avatar
    Extract test helper class for DeviceMinimumVersion policy · 0044050e
    Saurabh Nijhara authored
    The policy value creation login is currently duplicated in the tests
    that need to set DeviceMinimumVersion policy. This CL extract that
    logic along with other common elements into a test helper class that
    could be used by multiple test classes.
    
    This test helper class would also be useful when the update required
    notification unit tests are extracted into a separate unit test class
    which should be placed closer to
    c/b/chromeos/ui/update_required_notification.cc.
    
    Bug: 1128413
    Change-Id: I0952c9c4f99af348e6de40154b57cf2a777ef07a
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2410255
    Commit-Queue: Saurabh Nijhara <snijhara@google.com>
    Reviewed-by: default avatarMaksim Ivanov <emaxx@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#807435}
    0044050e
BUILD.gn 179 KB