Lines Matching defs:stmt
228 void PrintFailureDetails(std::string_view failure_description, std::string_view stmt, DeathCause cause) const {
230 stderr, "Failure: EXPECT_DEATH( %s ) failed!\n(reason: %s)\n\n", stmt.data(), failure_description.data());
353 const std::array<DeathCause, N>& expected_causes, const char* stmt, Func&& func, const Matcher& matcher) {
360 test_case.PrintFailureDetails(test_result.failure_description(), stmt, test_result.cause());
367 bool ExpectDeath(DeathCause expected_cause, const char* stmt, Func&& func, const Matcher& matcher) {
368 return ExpectDeath(std::array<DeathCause, 1>{expected_cause}, stmt, func, matcher);
372 bool ExpectDeath(const std::array<DeathCause, N>& expected_causes, const char* stmt, Func&& func) {
373 return ExpectDeath(expected_causes, stmt, func, MakeAnyMatcher());
377 bool ExpectDeath(DeathCause expected_cause, const char* stmt, Func&& func) {
378 return ExpectDeath(std::array<DeathCause, 1>{expected_cause}, stmt, func, MakeAnyMatcher());