MCPcopy Create free account
hub / github.com/apache/arrow / CheckImportError

Method CheckImportError

cpp/src/arrow/c/bridge_test.cc:1945–1951  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1943 }
1944
1945 void CheckImportError() {
1946 SchemaReleaseCallback cb(&c_struct_);
1947
1948 ASSERT_RAISES(Invalid, ImportField(&c_struct_));
1949 ASSERT_TRUE(ArrowSchemaIsReleased(&c_struct_));
1950 cb.AssertCalled(); // was released
1951 }
1952
1953 void CheckSchemaImportError() {
1954 SchemaReleaseCallback cb(&c_struct_);

Callers

nothing calls this directly

Calls 3

ArrowSchemaIsReleasedFunction · 0.85
AssertCalledMethod · 0.80
ImportFieldFunction · 0.70

Tested by

no test coverage detected