Lines Matching refs:CHECK_MESSAGE

66             CHECK_MESSAGE( msg == true, "" );  in operator ()()
120CHECK_MESSAGE( ( all_touches[n] == false), "value see by more than one thread\n" ); in validate_touches()
174 CHECK_MESSAGE( msg == true, "" ); in operator ()()
204 CHECK_MESSAGE( t.validate_touches(), "" ); in test_parallel()
208 CHECK_MESSAGE( s.try_get( j ) == false, "" ); in test_parallel()
209 CHECK_MESSAGE( j == bogus_value, "" ); in test_parallel()
227 CHECK_MESSAGE( s1.try_get( j ) == false, "" ); in test_parallel()
229 CHECK_MESSAGE( s2.try_get( j ) == false, "" ); in test_parallel()
231 CHECK_MESSAGE( s3.try_get( j ) == false, "" ); in test_parallel()
232 CHECK_MESSAGE( j == bogus_value, "" ); in test_parallel()
240 CHECK_MESSAGE( i == j, "" ); in test_parallel()
244 CHECK_MESSAGE( s_copy.try_get( j ) == false, "" ); in test_parallel()
245 CHECK_MESSAGE( j == bogus_value, "" ); in test_parallel()
274 CHECK_MESSAGE( register_predecessor( s, s2 ) == false, "" ); in test_serial()
275 CHECK_MESSAGE( remove_predecessor( s, s2 ) == false, "" ); in test_serial()
276 CHECK_MESSAGE( s.try_get( j ) == false, "" ); in test_serial()
277 CHECK_MESSAGE( j == bogus_value, "" ); in test_serial()
285 CHECK_MESSAGE( msg == true, "" ); in test_serial()
286 CHECK_MESSAGE(!s.try_put( T(i) ), ""); // second attempt to put should reject in test_serial()
292 CHECK_MESSAGE(wait_try_get( g, s, j ) == true, ""); in test_serial()
293 CHECK_MESSAGE( i == j, "" ); in test_serial()
294CHECK_MESSAGE(!s.try_put( T(i) ),"" ); // after retrieving value, subsequent put should fail in test_serial()
298 CHECK_MESSAGE( s.try_get( j ) == false, "" ); in test_serial()
299 CHECK_MESSAGE( j == bogus_value, "" ); in test_serial()
307 CHECK_MESSAGE( msg == true, "" ); in test_serial()
312 CHECK_MESSAGE(wait_try_get( g, s2, j ) == true, ""); in test_serial()
313 CHECK_MESSAGE( i == j, "" ); in test_serial()
317 CHECK_MESSAGE( s2.try_get( j ) == false, "" ); in test_serial()
318 CHECK_MESSAGE( j == bogus_value, "" ); in test_serial()
332 CHECK_MESSAGE( msg == true, "" ); in test_serial()
337 CHECK_MESSAGE(wait_try_get( g, s5, j ) == true, ""); in test_serial()
338 CHECK_MESSAGE( i == j, "" ); in test_serial()
341 CHECK_MESSAGE( wait_try_get( g, s3, j ) == false, "" ); in test_serial()
342 CHECK_MESSAGE( wait_try_get( g, s4, j ) == false, "" ); in test_serial()
343 CHECK_MESSAGE( wait_try_get( g, s5, j ) == false, "" ); in test_serial()
344 CHECK_MESSAGE( j == bogus_value, "" ); in test_serial()
348 CHECK_MESSAGE( s3.try_put( N ) == true, "" ); in test_serial()
349 CHECK_MESSAGE( wait_try_get( g, s4, j ) == false, "" ); in test_serial()
350 CHECK_MESSAGE( j == bogus_value, "" ); in test_serial()
351 CHECK_MESSAGE( wait_try_get( g, s5, j ) == false, "" ); in test_serial()
352 CHECK_MESSAGE( j == bogus_value, "" ); in test_serial()
353 CHECK_MESSAGE( wait_try_get( g, s3, j ) == true, "" ); in test_serial()
354 CHECK_MESSAGE( j == N, "" ); in test_serial()
368 CHECK_MESSAGE( msg == true, "" ); in test_serial()
373 CHECK_MESSAGE( wait_try_get( g, s8, j ) == true, "" ); in test_serial()
374 CHECK_MESSAGE( i == j, "" ); in test_serial()
377 CHECK_MESSAGE( wait_try_get( g, s6, j ) == false, "" ); in test_serial()
378 CHECK_MESSAGE( wait_try_get( g, s7, j ) == false, "" ); in test_serial()
379 CHECK_MESSAGE( wait_try_get( g, s8, j ) == false, "" ); in test_serial()
380 CHECK_MESSAGE( j == bogus_value, "" ); in test_serial()
384 CHECK_MESSAGE( s6.try_put( N ) == true, "" ); in test_serial()
385 CHECK_MESSAGE( wait_try_get( g, s7, j ) == false, "" ); in test_serial()
386 CHECK_MESSAGE( j == bogus_value, "" ); in test_serial()
387 CHECK_MESSAGE( wait_try_get( g, s8, j ) == false, "" ); in test_serial()
388 CHECK_MESSAGE( j == bogus_value, "" ); in test_serial()
389 CHECK_MESSAGE( wait_try_get( g, s6, j ) == true, "" ); in test_serial()
390 CHECK_MESSAGE( j == N, "" ); in test_serial()