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

Function DropUnionMessages

include/process/gmock.hpp:569–577  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

567
568template <typename Message, typename UnionType, typename From, typename To>
569void DropUnionMessages(Message message, UnionType unionType, From from, To to)
570{
571 TestsFilter* filter = FilterTestEventListener::instance()->install();
572 synchronized (filter->mutex) {
573 EXPECT_CALL(filter->mock, filter(to, testing::A<const MessageEvent&>()))
574 .With(UnionMessageMatcher(message, unionType, from))
575 .WillRepeatedly(testing::Return(true));
576 }
577}
578
579
580template <typename Message, typename Path, typename Deserializer>

Callers

nothing calls this directly

Calls 3

filterFunction · 0.85
synchronizedFunction · 0.50
installMethod · 0.45

Tested by

no test coverage detected