ExitedWithCode function-call operator.
| 7763 | |
| 7764 | // ExitedWithCode function-call operator. |
| 7765 | bool 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. |
nothing calls this directly
no outgoing calls
no test coverage detected