buffet: extract common unittest helper functions into separate file
CreateValue, CreateDictionaryValue and ValueToString() functions
were duplicated in two unit test files in buffet. These functions
will be needed for even more unit tests in the future, so extract
them into their own unittest_utils.cc/.h so they can be reused
in other unit tests.
BUG=None
TEST=USE=buffet P2_TEST_FILTER="buffet::*" FEATURES=test emerge-link platform2
Change-Id: I76ec6d13ed71e78dc02230167041cddc7de653ca
Reviewed-on: https://chromium-review.googlesource.com/208463
Tested-by: Alex Vakulenko <avakulenko@chromium.org>
Reviewed-by: Christopher Wiley <wiley@chromium.org>
Commit-Queue: Alex Vakulenko <avakulenko@chromium.org>
6 files changed
tree: 8fd8f0f27c8e1b465de6ccd3f752e59e418b53ba
- buffet/