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.
| 2130 | // test part results, what type of failure we expect, and what |
| 2131 | // substring the failure message should contain. |
| 2132 | SingleFailureChecker:: SingleFailureChecker( |
| 2133 | const TestPartResultArray* results, |
| 2134 | TestPartResult::Type type, |
| 2135 | const string& substr) |
| 2136 | : results_(results), |
| 2137 | type_(type), |
| 2138 | substr_(substr) {} |
| 2139 | |
| 2140 | // The destructor of SingleFailureChecker verifies that the given |
| 2141 | // TestPartResultArray contains exactly one failure that has the given |
nothing calls this directly
no outgoing calls
no test coverage detected