Add MockOneShotTimer and MockRepeatingTimer
MockOneShotTimer and MockRepeatingTimer are subclasses of OneShotTimer and RepeatingTimer respectively, that are intended to replace most of MockTimer. As MockTimer is not a OneShotTimer nor RepeatingTimer, when we want to use MockTimer for other timers, we had to use the generic Timer to hold a timer instance, that loses the timer traits from its type. Change-Id: Iea4a469708be2b89d4feb228460d78ab2a2f96d1 Reviewed-on: https://chromium-review.googlesource.com/1095195 Commit-Queue: Taiju Tsuiki <tzik@chromium.org> Reviewed-by:Gabriel Charette <gab@chromium.org> Cr-Commit-Position: refs/heads/master@{#568371}
Showing
Please register or sign in to comment