commit | 67ed78d1f0fcf22e26afc11b6cb597f3b04ffacf | [log] [tgz] |
---|---|---|
author | Gilad Arnold <garnold@chromium.org> | Wed Apr 23 13:17:46 2014 -0700 |
committer | chrome-internal-fetch <chrome-internal-fetch@google.com> | Thu Apr 24 23:50:49 2014 +0000 |
tree | e7c3e847a937c25f108e3ee84282ae30402c0ff2 | |
parent | 075248bffd57c4d2f13019ca75b6b63d7a0c9717 [diff] |
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 <garnold@chromium.org> Reviewed-by: Alex Deymo <deymo@chromium.org> Commit-Queue: Gilad Arnold <garnold@chromium.org>