Move reusable part of LoginPolicyTestBase into a helper class.
commitae14fbdb694429ecbd5f95794a9beff65880c40e
authorpneubeck <pneubeck@chromium.org>
Tue, 16 Jun 2015 10:09:10 +0000 (16 03:09 -0700)
committerCommit bot <commit-bot@chromium.org>
Tue, 16 Jun 2015 10:09:43 +0000 (16 10:09 +0000)
treebdb77dac56a780c01e64e6c5225803c2a23cf99d
parent2aae40199e4e8e011634f0f83e7c3daef8025f56
Move reusable part of LoginPolicyTestBase into a helper class.

The user policy part can be reused independent of the login simulation. Additionally functions to refresh and to wait for the policy application are added.

BUG=460232

Review URL: https://codereview.chromium.org/1185593002

Cr-Commit-Position: refs/heads/master@{#334577}
chrome/browser/chromeos/policy/force_maximize_on_first_run_chromeos_browsertest.cc
chrome/browser/chromeos/policy/login_policy_test_base.cc
chrome/browser/chromeos/policy/login_policy_test_base.h
chrome/browser/chromeos/policy/restore_on_startup_browsertest_chromeos.cc
chrome/browser/chromeos/policy/user_cloud_policy_manager_chromeos_browsertest.cc
chrome/browser/chromeos/policy/user_policy_test_helper.cc [new file with mode: 0644]
chrome/browser/chromeos/policy/user_policy_test_helper.h [new file with mode: 0644]
chrome/chrome_tests.gypi