| 803 | |
| 804 | |
| 805 | inline ::testing::AssertionResult AwaitAssertTermSigNe( |
| 806 | const char* expectedExpr, |
| 807 | const char* actualExpr, |
| 808 | const char* durationExpr, |
| 809 | const int expected, |
| 810 | const process::Future<Option<int>>& actual, |
| 811 | const Duration& duration) |
| 812 | { |
| 813 | const ::testing::AssertionResult result = |
| 814 | AwaitAssertSignaled(actualExpr, durationExpr, actual, duration); |
| 815 | |
| 816 | if (result) { |
| 817 | CHECK_READY(actual); |
| 818 | CHECK_SOME(actual.get()); |
| 819 | return AssertTermSigNe( |
| 820 | expectedExpr, |
| 821 | strings::join("(", actualExpr, ")->get()").c_str(), |
| 822 | expected, |
| 823 | actual->get()); |
| 824 | } |
| 825 | |
| 826 | return result; |
| 827 | } |
| 828 | |
| 829 | |
| 830 | #define AWAIT_ASSERT_WTERMSIG_NE_FOR(expected, actual, duration) \ |
nothing calls this directly
no test coverage detected