Lines Matching refs:CHECK_MESSAGE

94CHECK_MESSAGE( m_tasksSpawned == numSpawned, "Wrong number of spawned tasks. The test is broken" );  in Wait()
110CHECK_MESSAGE( m_tasksSpawned == numSpawned, "No tasks should be spawned after wait starts. The te… in Wait()
111 CHECK_MESSAGE( s_tasksExecuted == numSpawned, "Not all spawned tasks were executed" ); in Wait()
121 CHECK_MESSAGE( m_numThreads > 1, "SharedGroupBody tests require concurrency" ); in SharedGroupBodyImpl()
123CHECK_MESSAGE(false, "In vagabond mode SharedGroupBody must be used with 2 threads only"); in SharedGroupBodyImpl()
136 CHECK_MESSAGE(false, "SharedGroupBody must be reset before reuse"); in Run()
149 CHECK_MESSAGE ( m_taskGroup, "Task group is not initialized"); in Run()
154CHECK_MESSAGE ( idx == 1, "In vagabond mode SharedGroupBody must be used with 2 threads only" ); in Run()
215CHECK_MESSAGE(m_completed, "A concurrent waiter has left the wait method earlier than work has fin… in operator ()()
467 CHECK_MESSAGE( e.what(), "Empty what() string" ); in LaunchChildrenWithFunctor()
468 CHECK_MESSAGE( strcmp(e.what(), EXCEPTION_DESCR1) == 0, "Unknown exception" ); in LaunchChildrenWithFunctor()
471 } catch( ... ) { CHECK_MESSAGE( false, "Unknown exception" ); } in LaunchChildrenWithFunctor()
473 CHECK_MESSAGE(false, "No exception in the child task group"); in LaunchChildrenWithFunctor()
498 CHECK_MESSAGE ( !tbb::is_current_task_group_canceling(), "Unexpected cancellation" ); in TestManualCancellationWithFunctor()
504 CHECK_MESSAGE( status == tbb::canceled, "Task group reported invalid status." ); in TestManualCancellationWithFunctor()
505CHECK_MESSAGE( g_TaskCount <= NUM_GROUPS * NUM_CHORES, "Too many tasks reported. The test is broke… in TestManualCancellationWithFunctor()
506CHECK_MESSAGE( g_TaskCount < NUM_GROUPS * NUM_CHORES, "No tasks were cancelled. Cancellation model… in TestManualCancellationWithFunctor()
507CHECK_MESSAGE( g_TaskCount <= g_ExecutedAtCancellation + utils::ConcurrencyTracker::PeakParallelis… in TestManualCancellationWithFunctor()
521 CHECK_MESSAGE( false, "Unexpected exception" ); in TestExceptionHandling1()
523CHECK_MESSAGE( g_ExceptionCount <= NUM_GROUPS, "Too many exceptions from the child groups. The tes… in TestExceptionHandling1()
524 CHECK_MESSAGE( g_ExceptionCount == NUM_GROUPS, "Not all child groups threw the exception" ); in TestExceptionHandling1()
539 CHECK_MESSAGE( e.what(), "Empty what() string" ); in TestExceptionHandling2()
540 CHECK_MESSAGE( strcmp(e.what(), EXCEPTION_DESCR2) == 0, "Unknown exception" ); in TestExceptionHandling2()
542 } catch( ... ) { CHECK_MESSAGE( false, "Unknown exception" ); } in TestExceptionHandling2()
543 CHECK_MESSAGE( exceptionCaught, "No exception thrown from the root task group" ); in TestExceptionHandling2()
544CHECK_MESSAGE( g_ExceptionCount >= SKIP_GROUPS, "Too few exceptions from the child groups. The tes… in TestExceptionHandling2()
545CHECK_MESSAGE( g_ExceptionCount <= NUM_GROUPS - SKIP_GROUPS, "Too many exceptions from the child g… in TestExceptionHandling2()
546CHECK_MESSAGE( g_ExceptionCount < NUM_GROUPS - SKIP_GROUPS, "None of the child groups was cancelle… in TestExceptionHandling2()
562 CHECK_MESSAGE( false, "Unexpected exception" ); in TestExceptionHandling3()
574 CHECK_MESSAGE(!tbb::is_current_task_group_canceling(), "Unexpected cancellation"); in Launch()
580CHECK_MESSAGE(g_TaskCount <= NUM_GROUPS * NUM_CHORES, "Too many tasks reported. The test is broken… in Finish()
581CHECK_MESSAGE(g_TaskCount < NUM_GROUPS * NUM_CHORES, "No tasks were cancelled. Cancellation model … in Finish()
582CHECK_MESSAGE(g_TaskCount <= g_ExecutedAtCancellation + g_MaxConcurrency, "Too many tasks survived… in Finish()
600 CHECK_MESSAGE( e.what(), "Error message is absent" ); in TestMissingWait()
632 void operator()() { CHECK_MESSAGE( false, "Non-const operator called" ); } in operator ()()
680 CHECK_MESSAGE(mpf.alive, "object was moved when was passed by lval"); in TestBareFunctors()
685 CHECK_MESSAGE(!mpf.alive, "object was copied when was passed by rval"); in TestBareFunctors()
1042 CHECK_MESSAGE(
1076 CHECK_MESSAGE( in run_cancellation_use_case()
1082 CHECK_MESSAGE( in run_cancellation_use_case()
1087 CHECK_MESSAGE(0 == count, "Some of the inner group tasks were not executed."); in run_cancellation_use_case()
1145 CHECK_MESSAGE(run == true, "task handle returned by user lambda (bypassed) should be run");
1160 CHECK_MESSAGE(run == true, "task handle returned by user lambda (bypassed) should be run");