| 2832 | } |
| 2833 | |
| 2834 | void CheckImportError(const std::shared_ptr<DataType>& type) { |
| 2835 | ArrayReleaseCallback cb(&c_struct_); |
| 2836 | |
| 2837 | ASSERT_RAISES(Invalid, ImportArray(&c_struct_, type)); |
| 2838 | ASSERT_TRUE(ArrowArrayIsReleased(&c_struct_)); |
| 2839 | Reset(); // for further tests |
| 2840 | cb.AssertCalled(); // was released |
| 2841 | } |
| 2842 | |
| 2843 | void CheckImportError(const std::shared_ptr<Schema>& schema) { |
| 2844 | ArrayReleaseCallback cb(&c_struct_); |
nothing calls this directly
no test coverage detected