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

Function TEST_P

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

Source from the content-addressed store, hash-verified

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