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

Method MockResourceEstimator

src/tests/mock_slave.cpp:64–75  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

62namespace tests {
63
64MockResourceEstimator::MockResourceEstimator()
65{
66 ON_CALL(*this, initialize(_))
67 .WillByDefault(Return(Nothing()));
68 EXPECT_CALL(*this, initialize(_))
69 .WillRepeatedly(DoDefault());
70
71 ON_CALL(*this, oversubscribable())
72 .WillByDefault(Return(Future<Resources>()));
73 EXPECT_CALL(*this, oversubscribable())
74 .WillRepeatedly(DoDefault());
75}
76
77
78MockResourceEstimator::~MockResourceEstimator() {}

Callers

nothing calls this directly

Calls 2

NothingClass · 0.85
initializeFunction · 0.50

Tested by

no test coverage detected