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

Function DropDispatches

include/process/gmock.hpp:688–696  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

686
687template <typename PID, typename Method>
688void DropDispatches(PID pid, Method method)
689{
690 TestsFilter* filter = FilterTestEventListener::instance()->install();
691 synchronized (filter->mutex) {
692 EXPECT_CALL(filter->mock, filter(pid, testing::A<const DispatchEvent&>()))
693 .With(DispatchMatcher(method))
694 .WillRepeatedly(testing::Return(true));
695 }
696}
697
698
699template <typename PID, typename Method>

Callers

nothing calls this directly

Calls 3

filterFunction · 0.85
synchronizedFunction · 0.50
installMethod · 0.45

Tested by

no test coverage detected