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

Function CheckErrorDetail

cpp/src/arrow/flight/test_definitions.cc:1757–1762  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1755}
1756
1757static void CheckErrorDetail(const Status& status) {
1758 auto detail = FlightStatusDetail::UnwrapStatus(status);
1759 ASSERT_NE(detail, nullptr) << status.ToString();
1760 ASSERT_EQ(detail->code(), FlightStatusCode::Unauthorized);
1761 ASSERT_EQ(detail->extra_info(), "extra info");
1762}
1763
1764void ErrorHandlingTest::TestDoPut() {
1765 // ARROW-16592

Callers 2

TestDoPutMethod · 0.85
TestDoExchangeMethod · 0.85

Calls 3

extra_infoMethod · 0.80
ToStringMethod · 0.45
codeMethod · 0.45

Tested by

no test coverage detected