summaryrefslogtreecommitdiffstats
path: root/googletest/include/gtest/internal/gtest-port.h
diff options
context:
space:
mode:
authorKrzysztof KosiƄski <krzysio@google.com>2024-04-12 20:18:22 (GMT)
committerCopybara-Service <copybara-worker@google.com>2024-04-12 20:19:21 (GMT)
commit5197b1a8e6a1ef9f214f4aa537b0be17cbf91946 (patch)
tree0b0ee9b4be902c9fe2143958afbe060f9c351cde /googletest/include/gtest/internal/gtest-port.h
parentb1a777f31913f8a047f43b2a5f823e736e7f5082 (diff)
downloadgoogletest-5197b1a8e6a1ef9f214f4aa537b0be17cbf91946.zip
googletest-5197b1a8e6a1ef9f214f4aa537b0be17cbf91946.tar.gz
googletest-5197b1a8e6a1ef9f214f4aa537b0be17cbf91946.tar.bz2
Modify example in the primer to match Testing FAQ.
The CtorVsSetUp section of the FAQ says that constructors and destructors should be preferred over SetUp() and TearDown(), because they will automatically chain up to the fixture's base class, whereas for methods the user must remember to add the chaining manually. PiperOrigin-RevId: 624273474 Change-Id: Ida41aae193d417eaf996587c7ae1a0099a8cab32
Diffstat (limited to 'googletest/include/gtest/internal/gtest-port.h')
0 files changed, 0 insertions, 0 deletions