Lines Matching refs:ASSERT_TRUE

402     ASSERT_TRUE(test_process.CreateProcess());  in suspend()
403 ASSERT_TRUE(test_process.CreateThread()); in suspend()
404 ASSERT_TRUE(test_process.StartProcess()); in suspend()
408 ASSERT_TRUE(test_process.WaitForThreadSignal(0, ZX_THREAD_SUSPENDED, ZX_OK)); in suspend()
411 ASSERT_TRUE(test_process.WaitForThreadSignal(0, ZX_THREAD_RUNNING, ZX_OK)); in suspend()
413 ASSERT_TRUE(test_process.StopProcess()); in suspend()
431 ASSERT_TRUE(test_process.CreateProcess()); in suspend_multiple_threads()
432 ASSERT_TRUE(test_process.CreateThread()); in suspend_multiple_threads()
433 ASSERT_TRUE(test_process.CreateThread()); in suspend_multiple_threads()
434 ASSERT_TRUE(test_process.CreateThread()); in suspend_multiple_threads()
435 ASSERT_TRUE(test_process.StartProcess()); in suspend_multiple_threads()
439 ASSERT_TRUE(test_process.WaitForThreadSignal(0, ZX_THREAD_SUSPENDED, ZX_OK)); in suspend_multiple_threads()
440 ASSERT_TRUE(test_process.WaitForThreadSignal(1, ZX_THREAD_SUSPENDED, ZX_OK)); in suspend_multiple_threads()
441 ASSERT_TRUE(test_process.WaitForThreadSignal(2, ZX_THREAD_SUSPENDED, ZX_OK)); in suspend_multiple_threads()
444 ASSERT_TRUE(test_process.WaitForThreadSignal(0, ZX_THREAD_RUNNING, ZX_OK)); in suspend_multiple_threads()
445 ASSERT_TRUE(test_process.WaitForThreadSignal(1, ZX_THREAD_RUNNING, ZX_OK)); in suspend_multiple_threads()
446 ASSERT_TRUE(test_process.WaitForThreadSignal(2, ZX_THREAD_RUNNING, ZX_OK)); in suspend_multiple_threads()
448 ASSERT_TRUE(test_process.StopProcess()); in suspend_multiple_threads()
457 ASSERT_TRUE(test_process.CreateProcess()); in suspend_before_creating_threads()
462 ASSERT_TRUE(test_process.CreateThread()); in suspend_before_creating_threads()
463 ASSERT_TRUE(test_process.StartProcess()); in suspend_before_creating_threads()
464 ASSERT_TRUE(test_process.WaitForThreadSignal(0, ZX_THREAD_SUSPENDED, ZX_OK)); in suspend_before_creating_threads()
467 ASSERT_TRUE(test_process.WaitForThreadSignal(0, ZX_THREAD_RUNNING, ZX_OK)); in suspend_before_creating_threads()
469 ASSERT_TRUE(test_process.StopProcess()); in suspend_before_creating_threads()
478 ASSERT_TRUE(test_process.CreateProcess()); in suspend_before_starting_threads()
479 ASSERT_TRUE(test_process.CreateThread()); in suspend_before_starting_threads()
484 ASSERT_TRUE(test_process.StartProcess()); in suspend_before_starting_threads()
485 ASSERT_TRUE(test_process.WaitForThreadSignal(0, ZX_THREAD_SUSPENDED, ZX_OK)); in suspend_before_starting_threads()
488 ASSERT_TRUE(test_process.WaitForThreadSignal(0, ZX_THREAD_RUNNING, ZX_OK)); in suspend_before_starting_threads()
490 ASSERT_TRUE(test_process.StopProcess()); in suspend_before_starting_threads()
499 ASSERT_TRUE(test_process.CreateProcess()); in suspend_process_then_thread()
500 ASSERT_TRUE(test_process.CreateThread()); in suspend_process_then_thread()
501 ASSERT_TRUE(test_process.StartProcess()); in suspend_process_then_thread()
505 ASSERT_TRUE(test_process.WaitForThreadSignal(0, ZX_THREAD_SUSPENDED, ZX_OK)); in suspend_process_then_thread()
512 ASSERT_TRUE(test_process.WaitForThreadSignal(0, ZX_THREAD_RUNNING, ZX_ERR_TIMED_OUT)); in suspend_process_then_thread()
516 ASSERT_TRUE(test_process.WaitForThreadSignal(0, ZX_THREAD_RUNNING, ZX_OK)); in suspend_process_then_thread()
518 ASSERT_TRUE(test_process.StopProcess()); in suspend_process_then_thread()
527 ASSERT_TRUE(test_process.CreateProcess()); in suspend_thread_then_process()
528 ASSERT_TRUE(test_process.CreateThread()); in suspend_thread_then_process()
529 ASSERT_TRUE(test_process.StartProcess()); in suspend_thread_then_process()
533 ASSERT_TRUE(test_process.WaitForThreadSignal(0, ZX_THREAD_SUSPENDED, ZX_OK)); in suspend_thread_then_process()
539 ASSERT_TRUE(test_process.WaitForThreadSignal(0, ZX_THREAD_RUNNING, ZX_ERR_TIMED_OUT)); in suspend_thread_then_process()
542 ASSERT_TRUE(test_process.WaitForThreadSignal(0, ZX_THREAD_RUNNING, ZX_OK)); in suspend_thread_then_process()
544 ASSERT_TRUE(test_process.StopProcess()); in suspend_thread_then_process()
555 ASSERT_TRUE(test_process.CreateProcess()); in suspend_thread_and_process_before_starting_process()
559 ASSERT_TRUE(test_process.CreateThread()); in suspend_thread_and_process_before_starting_process()
563 ASSERT_TRUE(test_process.StartProcess()); in suspend_thread_and_process_before_starting_process()
564 ASSERT_TRUE(test_process.WaitForThreadSignal(0, ZX_THREAD_SUSPENDED, ZX_OK)); in suspend_thread_and_process_before_starting_process()
568 ASSERT_TRUE(test_process.WaitForThreadSignal(0, ZX_THREAD_RUNNING, ZX_ERR_TIMED_OUT)); in suspend_thread_and_process_before_starting_process()
571 ASSERT_TRUE(test_process.WaitForThreadSignal(0, ZX_THREAD_RUNNING, ZX_OK)); in suspend_thread_and_process_before_starting_process()
573 ASSERT_TRUE(test_process.StopProcess()); in suspend_thread_and_process_before_starting_process()
582 ASSERT_TRUE(test_process.CreateProcess()); in suspend_twice()
583 ASSERT_TRUE(test_process.CreateThread()); in suspend_twice()
584 ASSERT_TRUE(test_process.StartProcess()); in suspend_twice()
589 ASSERT_TRUE(test_process.WaitForThreadSignal(0, ZX_THREAD_SUSPENDED, ZX_OK)); in suspend_twice()
592 ASSERT_TRUE(test_process.WaitForThreadSignal(0, ZX_THREAD_RUNNING, ZX_ERR_TIMED_OUT)); in suspend_twice()
595 ASSERT_TRUE(test_process.WaitForThreadSignal(0, ZX_THREAD_RUNNING, ZX_OK)); in suspend_twice()
597 ASSERT_TRUE(test_process.StopProcess()); in suspend_twice()
606 ASSERT_TRUE(test_process.CreateProcess()); in suspend_twice_before_creating_threads()
612 ASSERT_TRUE(test_process.CreateThread()); in suspend_twice_before_creating_threads()
613 ASSERT_TRUE(test_process.StartProcess()); in suspend_twice_before_creating_threads()
614 ASSERT_TRUE(test_process.WaitForThreadSignal(0, ZX_THREAD_SUSPENDED, ZX_OK)); in suspend_twice_before_creating_threads()
617 ASSERT_TRUE(test_process.WaitForThreadSignal(0, ZX_THREAD_RUNNING, ZX_ERR_TIMED_OUT)); in suspend_twice_before_creating_threads()
620 ASSERT_TRUE(test_process.WaitForThreadSignal(0, ZX_THREAD_RUNNING, ZX_OK)); in suspend_twice_before_creating_threads()
622 ASSERT_TRUE(test_process.StopProcess()); in suspend_twice_before_creating_threads()
638 ASSERT_TRUE(test_process.CreateProcess()); in suspend_with_dying_thread()
639 ASSERT_TRUE(test_process.CreateThread()); in suspend_with_dying_thread()
640 ASSERT_TRUE(test_process.CreateThread()); in suspend_with_dying_thread()
641 ASSERT_TRUE(test_process.CreateThread()); in suspend_with_dying_thread()
642 ASSERT_TRUE(test_process.StartProcess()); in suspend_with_dying_thread()
650 ASSERT_TRUE(test_process.WaitForThreadSignal(0, ZX_THREAD_SUSPENDED, ZX_OK)); in suspend_with_dying_thread()
651 ASSERT_TRUE(test_process.WaitForThreadSignal(2, ZX_THREAD_SUSPENDED, ZX_OK)); in suspend_with_dying_thread()
654 ASSERT_TRUE(test_process.WaitForThreadSignal(0, ZX_THREAD_RUNNING, ZX_OK)); in suspend_with_dying_thread()
655 ASSERT_TRUE(test_process.WaitForThreadSignal(2, ZX_THREAD_RUNNING, ZX_OK)); in suspend_with_dying_thread()
657 ASSERT_TRUE(test_process.StopProcess()); in suspend_with_dying_thread()