Commits


Krzysztof Kosiński authored and Copybara-Service committed 5197b1a8e6a
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