| 2840 | } |
| 2841 | |
| 2842 | void CheckImportError(const std::shared_ptr<DataType>& type) { |
| 2843 | ArrayReleaseCallback cb(&c_struct_); |
| 2844 | |
| 2845 | ASSERT_RAISES(Invalid, ImportArray(&c_struct_, type)); |
| 2846 | ASSERT_TRUE(ArrowArrayIsReleased(&c_struct_)); |
| 2847 | Reset(); // for further tests |
| 2848 | cb.AssertCalled(); // was released |
| 2849 | } |
| 2850 | |
| 2851 | void CheckImportError(const std::shared_ptr<Schema>& schema) { |
| 2852 | ArrayReleaseCallback cb(&c_struct_); |
nothing calls this directly
no test coverage detected