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

Function AssertGeneratorExhausted

cpp/src/arrow/util/async_generator_test.cc:94–97  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

92
93template <typename T>
94void AssertGeneratorExhausted(AsyncGenerator<T>& gen) {
95 ASSERT_FINISHES_OK_AND_ASSIGN(auto next, gen());
96 ASSERT_TRUE(IsIterationEnd(next));
97}
98
99// --------------------------------------------------------------------
100// Asynchronous iterator tests

Callers 4

TEST_PFunction · 0.85
TEST_FFunction · 0.85
TESTFunction · 0.85

Calls 1

IsIterationEndFunction · 0.85

Tested by

no test coverage detected