• Home
  • Raw
  • Download

Lines Matching refs:TaskShutdownBehavior

166     : public testing::TestWithParam<TaskShutdownBehavior> {
171 Task CreateTask(TaskShutdownBehavior shutdown_behavior) { in CreateTask()
328 if (GetParam() == TaskShutdownBehavior::CONTINUE_ON_SHUTDOWN) { in TEST_P()
341 if (GetParam() != TaskShutdownBehavior::CONTINUE_ON_SHUTDOWN) in TEST_P()
352 Task block_shutdown_task(CreateTask(TaskShutdownBehavior::BLOCK_SHUTDOWN)); in TEST_P()
362 const bool should_run = GetParam() == TaskShutdownBehavior::BLOCK_SHUTDOWN; in TEST_P()
383 if (GetParam() == TaskShutdownBehavior::BLOCK_SHUTDOWN) { in TEST_P()
406 Task block_shutdown_task(CreateTask(TaskShutdownBehavior::BLOCK_SHUTDOWN)); in TEST_P()
413 if (GetParam() == TaskShutdownBehavior::BLOCK_SHUTDOWN) { in TEST_P()
433 EXPECT_EQ(GetParam() == TaskShutdownBehavior::BLOCK_SHUTDOWN ? 2U : 1U, in TEST_P()
451 (GetParam() != TaskShutdownBehavior::CONTINUE_ON_SHUTDOWN); in TEST_P()
749 if (GetParam() == TaskShutdownBehavior::BLOCK_SHUTDOWN) in TEST_P()
767 if (GetParam() == TaskShutdownBehavior::BLOCK_SHUTDOWN) in TEST_P()
789 if (GetParam() == TaskShutdownBehavior::BLOCK_SHUTDOWN) in TEST_P()
812 if (GetParam() == TaskShutdownBehavior::BLOCK_SHUTDOWN) in TEST_P()
854 ::testing::Values(TaskShutdownBehavior::CONTINUE_ON_SHUTDOWN));
858 ::testing::Values(TaskShutdownBehavior::SKIP_ON_SHUTDOWN));
862 ::testing::Values(TaskShutdownBehavior::BLOCK_SHUTDOWN));
898 &tracker_, CreateTask(TaskShutdownBehavior::CONTINUE_ON_SHUTDOWN), in TEST_F()
903 &tracker_, CreateTask(TaskShutdownBehavior::SKIP_ON_SHUTDOWN), in TEST_F()
908 &tracker_, CreateTask(TaskShutdownBehavior::BLOCK_SHUTDOWN), in TEST_F()
931 CreateTask(TaskShutdownBehavior::CONTINUE_ON_SHUTDOWN)); in TEST_F()
933 CreateTask(TaskShutdownBehavior::SKIP_ON_SHUTDOWN)); in TEST_F()
935 CreateTask(TaskShutdownBehavior::BLOCK_SHUTDOWN)); in TEST_F()
993 Task block_shutdown_task(CreateTask(TaskShutdownBehavior::BLOCK_SHUTDOWN)); in TEST_F()
1004 &tracker_, CreateTask(TaskShutdownBehavior::CONTINUE_ON_SHUTDOWN), in TEST_F()
1009 &tracker_, CreateTask(TaskShutdownBehavior::SKIP_ON_SHUTDOWN), in TEST_F()
1014 &tracker_, CreateTask(TaskShutdownBehavior::BLOCK_SHUTDOWN), in TEST_F()
1214 TaskShutdownBehavior::BLOCK_SHUTDOWN), in TEST_F()