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

Method CheckSchemaImportError

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

Source from the content-addressed store, hash-verified

1929 }
1930
1931 void CheckSchemaImportError() {
1932 SchemaReleaseCallback cb(&c_struct_);
1933
1934 ASSERT_RAISES(Invalid, ImportSchema(&c_struct_));
1935 ASSERT_TRUE(ArrowSchemaIsReleased(&c_struct_));
1936 cb.AssertCalled(); // was released
1937 }
1938};
1939
1940TEST_F(TestSchemaImport, Primitive) {

Callers

nothing calls this directly

Calls 3

ArrowSchemaIsReleasedFunction · 0.85
AssertCalledMethod · 0.80
ImportSchemaFunction · 0.70

Tested by

no test coverage detected