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

Method MockQoSController

src/tests/mock_slave.cpp:81–93  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

79
80
81MockQoSController::MockQoSController()
82{
83 ON_CALL(*this, initialize(_))
84 .WillByDefault(Return(Nothing()));
85 EXPECT_CALL(*this, initialize(_))
86 .WillRepeatedly(DoDefault());
87
88 ON_CALL(*this, corrections())
89 .WillByDefault(
90 Return(Future<list<mesos::slave::QoSCorrection>>()));
91 EXPECT_CALL(*this, corrections())
92 .WillRepeatedly(DoDefault());
93}
94
95
96MockQoSController::~MockQoSController() {}

Callers

nothing calls this directly

Calls 2

NothingClass · 0.85
initializeFunction · 0.50

Tested by

no test coverage detected