Add separate unit test for ContentHash
ContentHash class was previously tested indirectly: in a more integration-like approach, for example, from ContentVerifyJobUnittest and slightly from ContentHashFetcherTest. This commit adds its own test for ContentHash. This will be used in https://crbug.com/958794 to test ContentHash work with unsigned hashes. Bug: 958794, 796395 Change-Id: Ica75dac2a48250f12d5729126ecf397a8168061e Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1844966 Commit-Queue: Oleg Davydov <burunduk@chromium.org> Reviewed-by:Devlin <rdevlin.cronin@chromium.org> Cr-Commit-Position: refs/heads/master@{#706885}
Showing
Please register or sign in to comment