| 171 | }; |
| 172 | |
| 173 | TEST_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 | |
| 184 | TEST_P(TestRunSynchronously, SpawnNested) { |
| 185 | bool nested_ran = false; |
nothing calls this directly
no test coverage detected