Creates and returns a death test by dispatching to the current death test factory.
| 7974 | // Creates and returns a death test by dispatching to the current |
| 7975 | // death test factory. |
| 7976 | bool DeathTest::Create(const char* statement, |
| 7977 | Matcher<const std::string&> matcher, const char* file, |
| 7978 | int line, DeathTest** test) { |
| 7979 | return GetUnitTestImpl()->death_test_factory()->Create( |
| 7980 | statement, std::move(matcher), file, line, test); |
| 7981 | } |
| 7982 | |
| 7983 | const char* DeathTest::LastMessage() { |
| 7984 | return last_death_test_message_.c_str(); |
nothing calls this directly
no test coverage detected