Introduce ExtensionForceInstallMixin for tests
Create a test mixin ExtensionForceInstallMixin that helps in testing of force-installed extensions. In this initial version, only device policy faked via DevicePolicyCrosTestHelper is supported; the extension has to be already packed into a CRX file. The mixin hosts the CRX file in an embedded test server, generates and hosts an update manifest XML and configures the device policy. Also partially migrate signin_profile_extensions_policy_browsertest.cc to the new mixin. Bug: 1090941 Change-Id: Ic2b82dc15d0bfcf18e68d267d78312ce2311789f Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2277812Reviewed-by:Omar Morsi <omorsi@google.com> Reviewed-by:
Alexander Hendrich <hendrich@chromium.org> Commit-Queue: Maksim Ivanov <emaxx@chromium.org> Cr-Commit-Position: refs/heads/master@{#785327}
Showing
This diff is collapsed.
File moved
Please register or sign in to comment