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

Function Raises

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

Returns a matcher that matches the StatusCode of a Status or Result . Do not use Raises(StatusCode::OK) to match a non error code.

Source from the content-addressed store, hash-verified

327// Returns a matcher that matches the StatusCode of a Status or Result<T>.
328// Do not use Raises(StatusCode::OK) to match a non error code.
329inline ErrorMatcher Raises(StatusCode code) { return ErrorMatcher(code, std::nullopt); }
330
331// Returns a matcher that matches the StatusCode and message of a Status or Result<T>.
332template <typename MessageMatcher>

Callers 15

TESTFunction · 0.85
TESTFunction · 0.85
TEST_FFunction · 0.85
ASSERT_OK_AND_ASSIGNFunction · 0.85
TESTFunction · 0.85
TESTFunction · 0.85
CheckErrorFunction · 0.85
TESTFunction · 0.85
TestSourceSinkErrorFunction · 0.85
TEST_PFunction · 0.85
TEST_FFunction · 0.85

Calls 1

ErrorMatcherClass · 0.85

Tested by 15

TESTFunction · 0.68
TESTFunction · 0.68
TEST_FFunction · 0.68
ASSERT_OK_AND_ASSIGNFunction · 0.68
TESTFunction · 0.68
TESTFunction · 0.68
CheckErrorFunction · 0.68
TESTFunction · 0.68
TestSourceSinkErrorFunction · 0.68
TEST_PFunction · 0.68
TEST_FFunction · 0.68