MCPcopy Create free account
hub / github.com/apache/singa / SingleFailureChecker

Method SingleFailureChecker

test/gtest/gtest-all.cc:2132–2138  ·  view source on GitHub ↗

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.

Source from the content-addressed store, hash-verified

2130// test part results, what type of failure we expect, and what
2131// substring the failure message should contain.
2132SingleFailureChecker:: 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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected