Googletest export

Minor formatting updates

PiperOrigin-RevId: 364935205
This commit is contained in:
Abseil Team 2021-03-24 18:20:36 -07:00 committed by Dino Radaković
parent 6dabd081e9
commit 66836f0a90

View File

@ -706,12 +706,12 @@ whether the code is under test.
## How do I temporarily disable a test? ## How do I temporarily disable a test?
If you have a broken test that you cannot fix right away, you can add the If you have a broken test that you cannot fix right away, you can add the
DISABLED_ prefix to its name. This will exclude it from execution. This is `DISABLED_` prefix to its name. This will exclude it from execution. This is
better than commenting out the code or using #if 0, as disabled tests are still better than commenting out the code or using `#if 0`, as disabled tests are
compiled (and thus won't rot). still compiled (and thus won't rot).
To include disabled tests in test execution, just invoke the test program with To include disabled tests in test execution, just invoke the test program with
the --gtest_also_run_disabled_tests flag. the `--gtest_also_run_disabled_tests` flag.
## Is it OK if I have two separate `TEST(Foo, Bar)` test methods defined in different namespaces? ## Is it OK if I have two separate `TEST(Foo, Bar)` test methods defined in different namespaces?