| 4528 | class TestArrayStreamExport : public BaseArrayStreamTest { |
| 4529 | public: |
| 4530 | void AssertStreamSchema(struct ArrowArrayStream* c_stream, const Schema& expected) { |
| 4531 | struct ArrowSchema c_schema; |
| 4532 | ASSERT_EQ(0, c_stream->get_schema(c_stream, &c_schema)); |
| 4533 | |
| 4534 | SchemaExportGuard schema_guard(&c_schema); |
| 4535 | ASSERT_FALSE(ArrowSchemaIsReleased(&c_schema)); |
| 4536 | ASSERT_OK_AND_ASSIGN(auto schema, ImportSchema(&c_schema)); |
| 4537 | AssertSchemaEqual(expected, *schema, /*check_metadata=*/true); |
| 4538 | } |
| 4539 | |
| 4540 | void AssertStreamEnd(struct ArrowArrayStream* c_stream) { |
| 4541 | struct ArrowArray c_array; |
nothing calls this directly
no test coverage detected