Lines Matching refs:Step
442 enum class Step in TEST_P() enum
451 Step currentStep = Step::Start; in TEST_P()
455 auto waitForStep = [&](Step waitStep) -> bool { in TEST_P()
460 if (currentStep == Step::Abort) in TEST_P()
469 auto nextStep = [&](Step newStep) { in TEST_P()
480 AbortOnFailure(Step *currentStep, std::mutex *mutex, std::condition_variable *condVar) in TEST_P()
489 isAborting = *mCurrentStep != Step::Finish; in TEST_P()
493 *mCurrentStep = Step::Abort; in TEST_P()
500 Step *mCurrentStep; in TEST_P()
511 ASSERT_TRUE(waitForStep(Step::Start)); in TEST_P()
517 nextStep(Step::Thread0Draw); in TEST_P()
518 ASSERT_TRUE(waitForStep(Step::Thread1Draw)); in TEST_P()
528 nextStep(Step::Thread0Delete); in TEST_P()
529 ASSERT_TRUE(waitForStep(Step::Finish)); in TEST_P()
543 ASSERT_TRUE(waitForStep(Step::Thread0Draw)); in TEST_P()
549 nextStep(Step::Thread1Draw); in TEST_P()
550 ASSERT_TRUE(waitForStep(Step::Thread0Delete)); in TEST_P()
564 nextStep(Step::Finish); in TEST_P()
573 ASSERT_NE(currentStep, Step::Abort); in TEST_P()