googletest/docs
Krzysztof Kosiński 5197b1a8e6 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
2024-04-12 13:19:21 -07:00
..
_data Googletest export 2021-06-02 17:55:09 -04:00
_layouts documentation, change mater branch to main 2022-06-22 14:36:10 +03:00
_sass Googletest export 2021-05-25 13:34:39 -04:00
assets/css Googletest export 2021-02-19 13:55:48 -05:00
reference Fix https://github.com/google/googletest/issues/4423 2024-04-10 01:03:53 -07:00
_config.yml Googletest export 2021-02-19 13:55:48 -05:00
advanced.md Merge pull request #4435 from kaswhy:main 2024-01-29 07:50:37 -08:00
community_created_documentation.md Googletest export 2021-01-15 15:54:03 -05:00
faq.md GoogleTest FAQ: minor punctuation fixes 2023-09-14 10:37:04 -07:00
gmock_cheat_sheet.md Adjust includes to use <> instead of "", consistent with quickstart pages. 2023-07-28 09:51:41 -07:00
gmock_cook_book.md gmock_cook_book: Document DoAll's return type requirement 2023-10-03 11:41:48 -07:00
gmock_faq.md Fix reference to source file in gmock FAQ 2022-01-14 14:40:35 -08:00
gmock_for_dummies.md Add anchor for expectation ordering note 2024-02-13 13:55:04 -08:00
index.md Googletest export 2021-02-26 17:58:04 -05:00
pkgconfig.md cmake: Raise min to 3.6 2023-06-19 11:21:44 -06:00
platforms.md Copy supported platforms from README onto https://google.github.io/googletest/platforms.html 2023-06-01 07:28:42 -07:00
primer.md Modify example in the primer to match Testing FAQ. 2024-04-12 13:19:21 -07:00
quickstart-bazel.md Provide example for setting C++ language standard in GoogleTest's Bazel quickstart and readme. 2023-05-31 10:45:43 -07:00
quickstart-cmake.md Add CXX_STANDARD_REQUIRED to CMake quickstart 2023-05-21 16:40:06 -07:00
samples.md Merge pull request #3918 from assafpr:master2main 2022-08-01 11:47:51 -07:00