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

Function repair

src/tests/future_tests.cpp:262–267  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

260
261
262Future<int> repair(const Future<int>& future)
263{
264 EXPECT_TRUE(future.isFailed());
265 EXPECT_EQ("Failure", future.failure());
266 return 43;
267}
268
269
270// Checks that 'repair' callback gets executed if the future failed

Callers

nothing calls this directly

Calls 1

isFailedMethod · 0.80

Tested by

no test coverage detected