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

Function TEST_P

cpp/src/arrow/util/thread_pool_test.cc:175–184  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

173};
174
175TEST_P(TestRunSynchronously, SimpleRun) {
176 bool task_ran = false;
177 auto task = [&](Executor* executor) {
178 EXPECT_NE(executor, nullptr);
179 task_ran = true;
180 return Future<>::MakeFinished();
181 };
182 ASSERT_OK(RunVoid(std::move(task)));
183 EXPECT_TRUE(task_ran);
184}
185
186TEST_P(TestRunSynchronously, SpawnNested) {
187 bool nested_ran = false;

Callers

nothing calls this directly

Calls 8

DeferNotOkFunction · 0.85
AllCompleteFunction · 0.85
ThenMethod · 0.80
RequestStopMethod · 0.80
tokenMethod · 0.80
OKFunction · 0.50
InvalidFunction · 0.50

Tested by

no test coverage detected