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

Function ExpectNoFutureMessages

include/process/gmock.hpp:663–671  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

661
662template <typename Name, typename From, typename To>
663void ExpectNoFutureMessages(Name name, From from, To to)
664{
665 TestsFilter* filter = FilterTestEventListener::instance()->install();
666 synchronized (filter->mutex) {
667 EXPECT_CALL(filter->mock, filter(to, testing::A<const MessageEvent&>()))
668 .With(MessageMatcher(name, from))
669 .Times(0);
670 }
671}
672
673
674template <typename Message, typename UnionType, typename From, typename To>

Callers

nothing calls this directly

Calls 3

filterFunction · 0.85
synchronizedFunction · 0.50
installMethod · 0.45

Tested by

no test coverage detected