|
Hegel 0.11.4
Property-based testing for C++
|
The exception the GoogleTest integration raises for a test case that fails an assertion. More...
#include <gtest.h>
Public Member Functions | |
| GTestFailure (std::string origin, const std::string &message) | |
| std::string | failure_origin () const override |
| Public Member Functions inherited from hegel::FailureOrigin | |
| FailureOrigin (const FailureOrigin &)=default | |
| Copy-constructs. An origin holds no state of its own. | |
| FailureOrigin & | operator= (const FailureOrigin &)=default |
The exception the GoogleTest integration raises for a test case that fails an assertion.
The message holds every failed assertion of that case, each prefixed with its source position.
Assertions on different lines are different bugs, and failing different combinations of assertions count as different bugs.
|
inline |
| origin | The positions of the failed assertions. |
| message | The failed assertions of one test case. |
|
inlineoverridevirtual |
Implements hegel::FailureOrigin.