PM: Move Variable content testing logic into a common unittest module.
Testing the content of variables is done frequently when testing various
providers. This results in plenty of boilerplate code, as well as
numerous friend declarations in the different FooVariable class
definitions.
This CL introduces a PmTestUtils helper class providing common Variable
testing methods that test fixtures can use.
BUG=chromium:366259
TEST=Unit tests.
Change-Id: I7bb1cea080c3b79c203607550259f4c277e84f3b
Reviewed-on: https://chromium-review.googlesource.com/196529
Tested-by: Gilad Arnold <[email protected]>
Reviewed-by: Alex Deymo <[email protected]>
Commit-Queue: Gilad Arnold <[email protected]>
14 files changed