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

Method CheckSchemaImportError

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