(gdb_arrow)
| 248 | |
| 249 | |
| 250 | def test_status(gdb_arrow): |
| 251 | check_stack_repr(gdb_arrow, "ok_status", "arrow::Status::OK()") |
| 252 | check_stack_repr(gdb_arrow, "error_status", |
| 253 | 'arrow::Status::IOError("This is an error")') |
| 254 | check_stack_repr( |
| 255 | gdb_arrow, "error_detail_status", |
| 256 | 'arrow::Status::IOError("This is an error", ' |
| 257 | 'detail=[custom-detail-id] "This is a detail")') |
| 258 | |
| 259 | check_stack_repr(gdb_arrow, "ok_result", "arrow::Result<int>(42)") |
| 260 | check_stack_repr( |
| 261 | gdb_arrow, "error_result", |
| 262 | 'arrow::Result<int>(arrow::Status::IOError("This is an error"))') |
| 263 | check_stack_repr( |
| 264 | gdb_arrow, "error_detail_result", |
| 265 | 'arrow::Result<int>(arrow::Status::IOError("This is an error", ' |
| 266 | 'detail=[custom-detail-id] "This is a detail"))') |
| 267 | |
| 268 | |
| 269 | def test_buffer_stack(gdb_arrow): |
nothing calls this directly
no test coverage detected