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

Function TEST_P

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

Source from the content-addressed store, hash-verified

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