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

Function DropMessages

include/process/gmock.hpp:557–565  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

555
556template <typename Name, typename From, typename To>
557void DropMessages(Name name, From from, To to)
558{
559 TestsFilter* filter = FilterTestEventListener::instance()->install();
560 synchronized (filter->mutex) {
561 EXPECT_CALL(filter->mock, filter(to, testing::A<const MessageEvent&>()))
562 .With(MessageMatcher(name, from))
563 .WillRepeatedly(testing::Return(true));
564 }
565}
566
567
568template <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