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

Method DescribeTo

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

Source from the content-addressed store, hash-verified

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_);
237 if (message_matcher_) {
238 *os << " and message ";
239 message_matcher_->DescribeTo(os);
240 }
241 }
242
243 void DescribeNegationTo(::std::ostream* os) const override {
244 *os << "does not raise StatusCode::" << Status::CodeAsString(code_);

Callers

nothing calls this directly

Calls 1

DescribeToMethod · 0.45

Tested by

no test coverage detected