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

Method CheckImportError

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

Source from the content-addressed store, hash-verified

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_);

Callers

nothing calls this directly

Calls 3

ArrowSchemaIsReleasedFunction · 0.85
AssertCalledMethod · 0.80
ImportFieldFunction · 0.70

Tested by

no test coverage detected