Lines Matching refs:failure
160 // The text used in failure messages to indicate the start of the
235 "printing test failure stack traces.");
571 // failure of the given type and that the failure message contains the
580 "1 fatal failure" :
581 "1 non-fatal failure");
612 // test part results, what type of failure we expect, and what
613 // substring the failure message should contain.
623 // TestPartResultArray contains exactly one failure that has the given
625 // non-fatal failure will be generated.
915 // Formats a value to be used in a failure message.
967 // Makes a failed assertion result with the given failure message.
975 // (e.g. ASSERT_EQ, EXPECT_STREQ, etc) failure.
1824 // Adds a failure if the key is a reserved attribute of Google Test
1871 // Returns true iff the test has a non-fatal failure.
1944 // Adds an "exception thrown" fatal failure to the current test.
1960 // yes, it returns true; otherwise it generates a Google Test failure and
2040 // We will run the test only if SetUp() had no fatal failure.
2081 // Returns true iff the current test has a fatal failure.
2086 // Returns true iff the current test has a non-fatal failure.
2286 // generate a fatal failure.
2469 // to "Failure", as the user usually doesn't care about the difference
2481 return "Failure\n";
2729 // Called after an assertion failure.
2736 // Print failure message from the assertion (e.g. expected this and got that).
2836 printf("\n"); // Add a spacer if no FAILURE banner is displayed.
3049 // TODO(wan): report the reason of the failure.
3147 // <failure message="...">...</failure>
3148 // <failure message="...">...</failure>
3149 // <failure message="...">...</failure>
3205 *stream << " <failure message=\""
3213 *stream << "</failure>\n";
3528 explicit GoogleTestFailureException(const TestPartResult& failure)
3529 : ::std::runtime_error(PrintTestPartResultToString(failure).c_str()) {}
3577 // when a failure happens and both the --gtest_break_on_failure and
3638 // failure via stderr.
3991 // Runs the tests only if there was no fatal failure during global
4016 // allows the user to quickly repro a failure that happens in the
4369 // true. On failure, returns false without changing *value.
4386 // true. On failure, returns false without changing *value.
4403 // true. On failure, returns false without changing *value.