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

Method initialize

src/tests/mock_docker.hpp:150–160  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

148 ~MockDockerContainerizer() override;
149
150 void initialize()
151 {
152 // NOTE: See TestContainerizer::setup for why we use
153 // 'EXPECT_CALL' and 'WillRepeatedly' here instead of
154 // 'ON_CALL' and 'WillByDefault'.
155 EXPECT_CALL(*this, launch(_, _, _, _))
156 .WillRepeatedly(Invoke(this, &MockDockerContainerizer::_launch));
157
158 EXPECT_CALL(*this, update(_, _, _))
159 .WillRepeatedly(Invoke(this, &MockDockerContainerizer::_update));
160 }
161
162 MOCK_METHOD4(
163 launch,

Callers

nothing calls this directly

Calls 3

InvokeClass · 0.85
launchFunction · 0.50
updateFunction · 0.50

Tested by

no test coverage detected