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

Method CheckImportError

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

Source from the content-addressed store, hash-verified

1951 }
1952
1953 void CheckImportError() {
1954 SchemaReleaseCallback cb(&c_struct_);
1955
1956 ASSERT_RAISES(Invalid, ImportField(&c_struct_));
1957 ASSERT_TRUE(ArrowSchemaIsReleased(&c_struct_));
1958 cb.AssertCalled(); // was released
1959 }
1960
1961 void CheckSchemaImportError() {
1962 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