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

Method TestThreaded

cpp/src/arrow/csv/column_decoder_test.cc:177–191  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

175 }
176
177 void TestThreaded() {
178#ifndef ARROW_ENABLE_THREADING
179 GTEST_SKIP() << "Test requires threading support";
180#endif
181 constexpr int NITERS = 10;
182 auto type = int32();
183 MakeDecoder(type);
184
185 RunThreadsAndJoin(
186 [&](int thread_id) {
187 AssertChunk({"4", "5", std::to_string(thread_id)},
188 ArrayFromJSON(type, "[null, null, null]"));
189 },
190 NITERS);
191 }
192};
193
194TEST_F(NullColumnDecoderTest, NullType) { this->TestNullType(); }

Callers 1

TEST_FFunction · 0.45

Calls 4

MakeDecoderFunction · 0.85
RunThreadsAndJoinFunction · 0.85
to_stringFunction · 0.85
ArrayFromJSONFunction · 0.85

Tested by

no test coverage detected