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

Function ReportFailureInUnknownLocation

tests/gtest/gtest-all.cc:3775–3785  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3773namespace internal {
3774
3775void ReportFailureInUnknownLocation(TestPartResult::Type result_type,
3776 const std::string& message) {
3777 // This function is a friend of UnitTest and as such has access to
3778 // AddTestPartResult.
3779 UnitTest::GetInstance()->AddTestPartResult(
3780 result_type,
3781 nullptr, // No info about the source file where the exception occurred.
3782 -1, // We have no info on which line caused the exception.
3783 message,
3784 ""); // No stack trace, either.
3785}
3786
3787} // namespace internal
3788

Calls 1

AddTestPartResultMethod · 0.80

Tested by

no test coverage detected