Gromacs  2025-dev-20241003-bd59e46
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members
gmx::test::anonymous_namespace{testinit.cpp}::SuccessListener Class Reference

Inherits EmptyTestEventListener.

Description

Makes GoogleTest non-failures more verbose.

By default, GoogleTest does not echo messages appended to explicit assertions of success with SUCCEEDED() e.g.

GTEST_SKIP() << "reason why";

produces no output. This test listener changes that behavior, so that the message is echoed.

When run with multiple ranks, only the main rank should use this listener, else the output can be very noisy.


The documentation for this class was generated from the following file: