MCPcopy Create free account
hub / github.com/awslabs/aws-lambda-cpp / ScopedFakeTestPartResultReporter

Method ScopedFakeTestPartResultReporter

tests/gtest/gtest-all.cc:2071–2076  ·  view source on GitHub ↗

The c'tor sets this object as the test part result reporter used by Google Test. The 'result' parameter specifies where to report the results. Intercepts only failures from the current thread.

Source from the content-addressed store, hash-verified

2069// Google Test. The 'result' parameter specifies where to report the
2070// results. Intercepts only failures from the current thread.
2071ScopedFakeTestPartResultReporter::ScopedFakeTestPartResultReporter(
2072 TestPartResultArray* result)
2073 : intercept_mode_(INTERCEPT_ONLY_CURRENT_THREAD),
2074 result_(result) {
2075 Init();
2076}
2077
2078// The c'tor sets this object as the test part result reporter used by
2079// Google Test. The 'result' parameter specifies where to report the

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected