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

Function ExpectNoFutureUnionHttpRequests

include/process/gmock.hpp:643–659  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

641 typename Path,
642 typename Deserializer>
643void ExpectNoFutureUnionHttpRequests(
644 Message message,
645 UnionType unionType,
646 Path path,
647 Deserializer deserializer,
648 bool drop = false)
649{
650 TestsFilter* filter = FilterTestEventListener::instance()->install();
651 Future<http::Request> future;
652 synchronized (filter->mutex) {
653 EXPECT_CALL(filter->mock, filter(
654 testing::A<const UPID&>(),
655 testing::A<const HttpEvent&>()))
656 .With(UnionHttpMatcher(message, unionType, path, deserializer))
657 .Times(0);
658 }
659}
660
661
662template <typename Name, 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