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

Function ASSERT_OK_AND_ASSIGN

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

Source from the content-addressed store, hash-verified

4883
4884TEST_F(TestArrayStreamRoundtrip, ChunkedArrayRoundtrip) {
4885 ASSERT_OK_AND_ASSIGN(auto src,
4886 ChunkedArray::Make({ArrayFromJSON(int32(), "[1, 2]"),
4887 ArrayFromJSON(int32(), "[4, 5, null]")}));
4888
4889 Roundtrip(src, [&](const std::shared_ptr<ChunkedArray>& dst) {
4890 AssertTypeEqual(*dst->type(), *src->type());
4891 AssertChunkedEqual(*dst, *src);
4892 });
4893}
4894
4895TEST_F(TestArrayStreamRoundtrip, ChunkedArrayRoundtripEmpty) {

Callers 12

TestWithArrayFactoryMethod · 0.70
TestWithArrayFactoryMethod · 0.70
TEST_FFunction · 0.70
TestWithTypeFactoryMethod · 0.70
TestWithSchemaFactoryMethod · 0.70
TestWithArrayFactoryMethod · 0.70
TestWithBatchFactoryMethod · 0.70
TestWithArrayFactoryMethod · 0.70
TestWithBatchFactoryMethod · 0.70

Calls 2

AssertChunkedEqualFunction · 0.85
typeMethod · 0.45

Tested by

no test coverage detected