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

Method Create

tests/gtest/gtest-all.cc:7976–7981  ·  view source on GitHub ↗

Creates and returns a death test by dispatching to the current death test factory.

Source from the content-addressed store, hash-verified

7974// Creates and returns a death test by dispatching to the current
7975// death test factory.
7976bool 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
7983const char* DeathTest::LastMessage() {
7984 return last_death_test_message_.c_str();

Callers

nothing calls this directly

Calls 4

GetUnitTestImplFunction · 0.85
StreamableToStringFunction · 0.85
indexMethod · 0.80
lineMethod · 0.80

Tested by

no test coverage detected