MCPcopy Create free account
hub / github.com/apache/arrow / MatchAndExplain

Method MatchAndExplain

cpp/src/arrow/testing/matchers.h:151–158  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

149 }
150
151 bool MatchAndExplain(const Fut& fut,
152 testing::MatchResultListener* listener) const override {
153 if (!fut.Wait(wait_seconds_)) {
154 *listener << "which didn't finish within " << wait_seconds_ << " seconds";
155 return false;
156 }
157 return result_matcher_.MatchAndExplain(fut.result(), listener);
158 }
159
160 const testing::Matcher<Result<ValueType>> result_matcher_;
161 const double wait_seconds_;

Callers

nothing calls this directly

Calls 3

WaitMethod · 0.45
MatchAndExplainMethod · 0.45
resultMethod · 0.45

Tested by

no test coverage detected