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