MCPcopy Create free account
hub / github.com/3rdparty/libprocess / AwaitAssertTermSigNe

Function AwaitAssertTermSigNe

include/process/gtest.hpp:805–827  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

803
804
805inline ::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) \

Callers

nothing calls this directly

Calls 2

AwaitAssertSignaledFunction · 0.85
getMethod · 0.45

Tested by

no test coverage detected