MCPcopy Create free account
hub / github.com/apache/mesos / MockFetcherProcess

Method MockFetcherProcess

src/tests/mock_fetcher.cpp:33–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31namespace tests {
32
33MockFetcherProcess::MockFetcherProcess(const slave::Flags& flags)
34 : slave::FetcherProcess(flags)
35{
36 // Set up default behaviors, calling the original methods.
37 EXPECT_CALL(*this, _fetch(_, _, _, _, _))
38 .WillRepeatedly(Invoke(this, &MockFetcherProcess::unmocked__fetch));
39 EXPECT_CALL(*this, run(_, _, _, _))
40 .WillRepeatedly(Invoke(this, &MockFetcherProcess::unmocked_run));
41}
42
43
44MockFetcherProcess::~MockFetcherProcess() {}

Callers

nothing calls this directly

Calls 2

InvokeClass · 0.85
runFunction · 0.50

Tested by

no test coverage detected