Make testing traces easier
We would like to add unit tests to make sure important trace events, that are
used in benchmarks, like the ones recently introduced in crrev/c/861389, are not
accidentally deleted.
This patch cleans up existing similar unit tests and makes writing new tests
easier.
TBR=oysteine@chromium.org,jam@chromium.org,hjd@chromium.org,skyostil@chromium.org,tdresser@chromium.org
BUG=none
Change-Id: Ieda04b3e5470b1b31b4140c2c9a6c51ea6e56202
Reviewed-on: https://chromium-review.googlesource.com/919144
Commit-Queue: Ehsan Chiniforooshan <chiniforooshan@chromium.org>
Reviewed-by: Ehsan Chiniforooshan <chiniforooshan@chromium.org>
Reviewed-by: Timothy Dresser <tdresser@chromium.org>
Reviewed-by: danakj <danakj@chromium.org>
Cr-Commit-Position: refs/heads/master@{#536814}
CrOS-Libchrome-Original-Commit: b53a9c2f3acb0405b1b26f15fca5d059e8fd98ce
3 files changed