update_engine: Refactor omaha_request_action_unittest
This refactoring makes the tests more readable by removing the giant
constructor of OmahaRequestParams, while also making it easier to
add new parameters to it.
This CL is also doing some cleanup (removing unused constant and
unimplemented methods, disallowing copy of OmahaRequestParams).
BUG=chromium:221851
TEST='cros_run_unit_tests --board=caroline --packages update_engine'
Change-Id: I67791443068dfc21d40c6d82fc624ddd2d4c190c
Reviewed-on: https://chromium-review.googlesource.com/1026112
Commit-Ready: ChromeOS CL Exonerator Bot <chromiumos-cl-exonerator@appspot.gserviceaccount.com>
Tested-by: Marton Hunyady <hunyadym@chromium.org>
Reviewed-by: Amin Hassani <ahassani@chromium.org>
Reviewed-by: Sen Jiang <senj@chromium.org>
3 files changed