Adds an "exception thrown" fatal failure to the current test.
| 3333 | |
| 3334 | // Adds an "exception thrown" fatal failure to the current test. |
| 3335 | static internal::String FormatCxxExceptionMessage(const char* description, |
| 3336 | const char* location) { |
| 3337 | Message message; |
| 3338 | if (description != NULL) { |
| 3339 | message << "C++ exception with description \"" << description << "\""; |
| 3340 | } else { |
| 3341 | message << "Unknown C++ exception"; |
| 3342 | } |
| 3343 | message << " thrown in " << location << "."; |
| 3344 | |
| 3345 | return message.GetString(); |
| 3346 | } |
| 3347 | |
| 3348 | static internal::String PrintTestPartResultToString( |
| 3349 | const TestPartResult& test_part_result); |
no outgoing calls
no test coverage detected