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

Method operator()

tests/gtest/gtest-all.cc:7765–7775  ·  view source on GitHub ↗

ExitedWithCode function-call operator.

Source from the content-addressed store, hash-verified

7763
7764// ExitedWithCode function-call operator.
7765bool ExitedWithCode::operator()(int exit_status) const {
7766# if GTEST_OS_WINDOWS || GTEST_OS_FUCHSIA
7767
7768 return exit_status == exit_code_;
7769
7770# else
7771
7772 return WIFEXITED(exit_status) && WEXITSTATUS(exit_status) == exit_code_;
7773
7774# endif // GTEST_OS_WINDOWS || GTEST_OS_FUCHSIA
7775}
7776
7777# if !GTEST_OS_WINDOWS && !GTEST_OS_FUCHSIA
7778// KilledBySignal constructor.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected