| 3773 | namespace internal { |
| 3774 | |
| 3775 | void 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 |
no test coverage detected