| 4848 | class TestArrayDeviceStreamExport : public BaseArrayStreamTest { |
| 4849 | public: |
| 4850 | void AssertStreamSchema(struct ArrowDeviceArrayStream* c_stream, |
| 4851 | const Schema& expected) { |
| 4852 | struct ArrowSchema c_schema; |
| 4853 | ASSERT_EQ(0, c_stream->get_schema(c_stream, &c_schema)); |
| 4854 | |
| 4855 | SchemaExportGuard schema_guard(&c_schema); |
| 4856 | ASSERT_FALSE(ArrowSchemaIsReleased(&c_schema)); |
| 4857 | ASSERT_OK_AND_ASSIGN(auto schema, ImportSchema(&c_schema)); |
| 4858 | AssertSchemaEqual(expected, *schema, /*check_metadata=*/true); |
| 4859 | } |
| 4860 | |
| 4861 | void AssertStreamEnd(struct ArrowDeviceArrayStream* c_stream) { |
| 4862 | struct ArrowDeviceArray c_array; |
nothing calls this directly
no test coverage detected