mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-28 07:13:20 +00:00
0544a4cf70
GTest supports the TEST macro, which just runs a bunch of tests, and the TEST_F macro, which enables writing custom test fixtures to perform per-test setup and teardown. The benchmarking framework we have has a corresponding macro for the former, but no corresponding macro for the latter. If there's significant work to be done during setup and teardown, we certainly don't want to be doing that work during the actual benchmarking! So let's introduce a MOZ_GTEST_BENCH_F macro that works similarly to the TEST_F macro. |
||
---|---|---|
.. | ||
benchmark | ||
gmock | ||
gtest | ||
mozilla | ||
bench.py | ||
Makefile.in | ||
moz.build | ||
MozGtestFriend.h | ||
rungtests.py |