| 1921 | } |
| 1922 | |
| 1923 | void CheckImportError() { |
| 1924 | SchemaReleaseCallback cb(&c_struct_); |
| 1925 | |
| 1926 | ASSERT_RAISES(Invalid, ImportField(&c_struct_)); |
| 1927 | ASSERT_TRUE(ArrowSchemaIsReleased(&c_struct_)); |
| 1928 | cb.AssertCalled(); // was released |
| 1929 | } |
| 1930 | |
| 1931 | void CheckSchemaImportError() { |
| 1932 | SchemaReleaseCallback cb(&c_struct_); |
nothing calls this directly
no test coverage detected