Lines Matching full:assertion
3 This page lists the assertion macros provided by GoogleTest for verifying code
11 All assertion macros support streaming a custom failure message into them with
18 Anything that can be streamed to an `ostream` can be streamed to an assertion
21 assertion, it will be translated to UTF-8 when printed.
48 The `SUCCEED` assertion is purely documentary and currently doesn't generate any
59 [Assertion Placement](../advanced.md#assertion-placement) for more information.
74 ## Generalized Assertion {#generalized}
76 The following assertion allows [matchers](matchers.md) to be used to verify
106 informative failure messages. For example, if the above assertion on `value1`
118 The use of matchers makes `EXPECT_THAT` a powerful, extensible assertion.
120 *The idea for this assertion was borrowed from Joe Walnes' Hamcrest project,
144 comparable by the assertion's comparison operator, otherwise a compiler error
148 argument when the assertion fails. Otherwise, GoogleTest will attempt to print
356 given arguments, the assertion succeeds, otherwise the assertion fails.
358 When the assertion fails, it prints the value of each argument. Arguments are
375 In the above example, the first assertion succeeds, and the second fails with
385 template, the assertion macro might not be able to determine which version to
487 In the above example, the final assertion fails and the predicate-formatter
549 will nonetheless terminate, and the assertion fails.