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

Method operator!

tests/gtest/gtest-all.cc:2496–2500  ·  view source on GitHub ↗

Returns the assertion's negation. Used with EXPECT/ASSERT_FALSE.

Source from the content-addressed store, hash-verified

2494
2495// Returns the assertion's negation. Used with EXPECT/ASSERT_FALSE.
2496AssertionResult AssertionResult::operator!() const {
2497 AssertionResult negation(!success_);
2498 if (message_.get() != nullptr) negation << *message_;
2499 return negation;
2500}
2501
2502// Makes a successful assertion result.
2503AssertionResult AssertionSuccess() {

Callers

nothing calls this directly

Calls 1

getMethod · 0.80

Tested by

no test coverage detected