Files
firefox/testing/gtest
Nathan Froyd 4f2e5dcda9 Bug 1434671 - add a benchmarking macro permitting custom test fixtures; r=ted.mielczarek
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.
2018-02-26 17:31:58 -04:00
..