Lines Matching refs:failure
115 // This helper class can be used to mock out Google Test failure reporting
120 // failure is reported. It can either intercept only failures that are
166 // TestPartResultArray contains exactly one failure that has the given
168 // non-fatal failure will be generated.
190 // statement will cause exactly one fatal Google Test failure with 'substr'
191 // being part of the failure message.
204 // - You cannot stream a failure message to this macro.
247 // statement will cause exactly one non-fatal Google Test failure with 'substr'
248 // being part of the failure message.
261 // - You cannot stream a failure message to this macro.
516 // true. On failure, returns false without changing *value.
1476 // The text used in failure messages to indicate the start of the
1555 "printing test failure stack traces.");
1907 // failure of the given type and that the failure message contains the
1916 "1 fatal failure" :
1917 "1 non-fatal failure");
1946 // test part results, what type of failure we expect, and what
1947 // substring the failure message should contain.
1957 // TestPartResultArray contains exactly one failure that has the given
1959 // non-fatal failure will be generated.
2279 // Makes a failed assertion result with the given failure message.
2288 // (e.g. ASSERT_EQ, EXPECT_STREQ, etc) failure.
2324 // Constructs a failure message for Boolean assertions such as EXPECT_TRUE.
3133 // Adds a failure if the key is a reserved attribute of Google Test
3180 // Returns true iff the test has a non-fatal failure.
3253 // yes, it returns true; otherwise it generates a Google Test failure and
3318 // Adds an "exception thrown" fatal failure to the current test. This
3335 // Adds an "exception thrown" fatal failure to the current test.
3360 explicit GoogleTestFailureException(const TestPartResult& failure)
3361 : ::std::runtime_error(PrintTestPartResultToString(failure).c_str()) {}
3414 // // Report the exception as failure.
3433 // sense to report it as a test failure.
3477 // Returns true iff the current test has a fatal failure.
3482 // Returns true iff the current test has a non-fatal failure.
3638 // constructor didn't generate a fatal failure.
3802 // to "Failure", as the user usually doesn't care about the difference
3814 return "Failure\n";
4082 // Called after an assertion failure.
4089 // Print failure message from the assertion (e.g. expected this and got that).
4185 printf("\n"); // Add a spacer if no FAILURE banner is displayed.
4396 // TODO(wan): report the reason of the failure.
4491 // <failure message="...">...</failure>
4492 // <failure message="...">...</failure>
4493 // <failure message="...">...</failure>
4557 *stream << " <failure message=\""
4565 *stream << "</failure>\n";
4743 // arbitrarily long test failure message and stack trace.
5091 // when a failure happens and both the --gtest_break_on_failure and
5159 // failure via stderr.
5536 // Runs the tests only if there was no fatal failure during global
5563 // allows the user to quickly repro a failure that happens in the
5901 // true. On failure, returns false without changing *value.
5918 // true. On failure, returns false without changing *value.
5935 // true. On failure, returns false without changing *value.
6372 // Generates a textual failure message when a death test finds more than
6442 // -1 on failure, and set errno to EINTR when it is interrupted and
6465 // This is called from a death test parent process to read a failure
6587 // failure of the death test) or until the pipe is closed (signifying
6628 // The parent process considers the death test to be a failure if
6665 // Assesses the success or failure of a death test, using both private
8949 // Gets the summary of the failure message by omitting the stack trace
8962 result.type() == TestPartResult::kFatalFailure ? "Fatal failure" :
8963 "Non-fatal failure") << ":\n"