class SingleFailureChecker

Defined at line 103 of file ../../third_party/googletest/src/googletest/include/gtest/gtest-spi.h

A helper class for implementing EXPECT_FATAL_FAILURE() and

EXPECT_NONFATAL_FAILURE(). Its destructor verifies that the given

TestPartResultArray contains exactly one failure that has the given

type and contains the given substring. If that's not the case, a

non-fatal failure will be generated.

Public Methods

void SingleFailureChecker (const TestPartResultArray * results, TestPartResult::Type type, const std::string & substr)

The constructor remembers the arguments.

void ~SingleFailureChecker ()