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

Method Impl

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

Source from the content-addressed store, hash-verified

229 operator testing::Matcher<Res>() const { // NOLINT runtime/explicit
230 struct Impl : testing::MatcherInterface<const Res&> {
231 explicit Impl(StatusCode code,
232 std::optional<testing::Matcher<std::string>> message_matcher)
233 : code_(code), message_matcher_(std::move(message_matcher)) {}
234
235 void DescribeTo(::std::ostream* os) const override {
236 *os << "raises StatusCode::" << Status::CodeAsString(code_);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected