The constructor of SingleFailureChecker remembers where to look up test part results, what type of failure we expect, and what substring the failure message should contain.
| 2176 | // test part results, what type of failure we expect, and what |
| 2177 | // substring the failure message should contain. |
| 2178 | SingleFailureChecker::SingleFailureChecker(const TestPartResultArray* results, |
| 2179 | TestPartResult::Type type, |
| 2180 | const std::string& substr) |
| 2181 | : results_(results), type_(type), substr_(substr) {} |
| 2182 | |
| 2183 | // The destructor of SingleFailureChecker verifies that the given |
| 2184 | // TestPartResultArray contains exactly one failure that has the given |
nothing calls this directly
no outgoing calls
no test coverage detected