| 4907 | class TestArrayDeviceStreamExport : public BaseArrayStreamTest { |
| 4908 | public: |
| 4909 | void AssertStreamSchema(struct ArrowDeviceArrayStream* c_stream, |
| 4910 | const Schema& expected) { |
| 4911 | struct ArrowSchema c_schema; |
| 4912 | ASSERT_EQ(0, c_stream->get_schema(c_stream, &c_schema)); |
| 4913 | |
| 4914 | SchemaExportGuard schema_guard(&c_schema); |
| 4915 | ASSERT_FALSE(ArrowSchemaIsReleased(&c_schema)); |
| 4916 | ASSERT_OK_AND_ASSIGN(auto schema, ImportSchema(&c_schema)); |
| 4917 | AssertSchemaEqual(expected, *schema, /*check_metadata=*/true); |
| 4918 | } |
| 4919 | |
| 4920 | void AssertStreamEnd(struct ArrowDeviceArrayStream* c_stream) { |
| 4921 | struct ArrowDeviceArray c_array; |
nothing calls this directly
no test coverage detected