Lines Matching full:valid
108 // default constructed future is not valid in test_future_create()
110 BOOST_CHECK( ! f1.valid() ); in test_future_create()
112 // future retrieved from promise is valid (if it is the first) in test_future_create()
115 BOOST_CHECK( f2.valid() ); in test_future_create()
119 // default constructed future is not valid in test_future_create_ref()
121 BOOST_CHECK( ! f1.valid() ); in test_future_create_ref()
123 // future retrieved from promise is valid (if it is the first) in test_future_create_ref()
126 BOOST_CHECK( f2.valid() ); in test_future_create_ref()
130 // default constructed future is not valid in test_future_create_void()
132 BOOST_CHECK( ! f1.valid() ); in test_future_create_void()
134 // future retrieved from promise is valid (if it is the first) in test_future_create_void()
137 BOOST_CHECK( f2.valid() ); in test_future_create_void()
141 // future retrieved from promise is valid (if it is the first) in test_future_move()
144 BOOST_CHECK( f1.valid() ); in test_future_move()
148 BOOST_CHECK( ! f1.valid() ); in test_future_move()
149 BOOST_CHECK( f2.valid() ); in test_future_move()
153 BOOST_CHECK( f1.valid() ); in test_future_move()
154 BOOST_CHECK( ! f2.valid() ); in test_future_move()
158 // future retrieved from promise is valid (if it is the first) in test_future_move_ref()
161 BOOST_CHECK( f1.valid() ); in test_future_move_ref()
165 BOOST_CHECK( ! f1.valid() ); in test_future_move_ref()
166 BOOST_CHECK( f2.valid() ); in test_future_move_ref()
170 BOOST_CHECK( f1.valid() ); in test_future_move_ref()
171 BOOST_CHECK( ! f2.valid() ); in test_future_move_ref()
175 // future retrieved from promise is valid (if it is the first) in test_future_move_void()
178 BOOST_CHECK( f1.valid() ); in test_future_move_void()
182 BOOST_CHECK( ! f1.valid() ); in test_future_move_void()
183 BOOST_CHECK( f2.valid() ); in test_future_move_void()
187 BOOST_CHECK( f1.valid() ); in test_future_move_void()
188 BOOST_CHECK( ! f2.valid() ); in test_future_move_void()
192 // future retrieved from promise is valid (if it is the first) in test_future_get()
197 BOOST_CHECK( f1.valid() ); in test_future_get()
202 BOOST_CHECK( ! f1.valid() ); in test_future_get()
215 BOOST_CHECK( ! f1.valid() ); in test_future_get()
220 // future retrieved from promise is valid (if it is the first) in test_future_get_move()
226 BOOST_CHECK( f1.valid() ); in test_future_get_move()
231 BOOST_CHECK( ! f1.valid() ); in test_future_get_move()
244 BOOST_CHECK( ! f1.valid() ); in test_future_get_move()
249 // future retrieved from promise is valid (if it is the first) in test_future_get_ref()
255 BOOST_CHECK( f1.valid() ); in test_future_get_ref()
261 BOOST_CHECK( ! f1.valid() ); in test_future_get_ref()
274 BOOST_CHECK( ! f1.valid() ); in test_future_get_ref()
280 // future retrieved from promise is valid (if it is the first) in test_future_get_void()
285 BOOST_CHECK( f1.valid() ); in test_future_get_void()
290 BOOST_CHECK( ! f1.valid() ); in test_future_get_void()
303 BOOST_CHECK( ! f1.valid() ); in test_future_get_void()
308 // future retrieved from promise is valid (if it is the first) in test_future_share()
314 BOOST_CHECK( f1.valid() ); in test_future_share()
318 BOOST_CHECK( sf1.valid() ); in test_future_share()
319 BOOST_CHECK( ! f1.valid() ); in test_future_share()
325 BOOST_CHECK( sf1.valid() ); in test_future_share()
329 // future retrieved from promise is valid (if it is the first) in test_future_share_ref()
335 BOOST_CHECK( f1.valid() ); in test_future_share_ref()
339 BOOST_CHECK( sf1.valid() ); in test_future_share_ref()
340 BOOST_CHECK( ! f1.valid() ); in test_future_share_ref()
346 BOOST_CHECK( sf1.valid() ); in test_future_share_ref()
350 // future retrieved from promise is valid (if it is the first) in test_future_share_void()
355 BOOST_CHECK( f1.valid() ); in test_future_share_void()
359 BOOST_CHECK( sf1.valid() ); in test_future_share_void()
360 BOOST_CHECK( ! f1.valid() ); in test_future_share_void()
365 BOOST_CHECK( sf1.valid() ); in test_future_share_void()
369 // future retrieved from promise is valid (if it is the first) in test_future_wait()
380 // future retrieved from promise is valid (if it is the first) in test_future_wait_ref()
393 // future retrieved from promise is valid (if it is the first) in test_future_wait_void()
401 BOOST_CHECK( ! f1.valid() ); in test_future_wait_void()
405 // future retrieved from promise is valid (if it is the first) in test_future_wait_for()
412 BOOST_CHECK( f1.valid() ); in test_future_wait_for()
416 BOOST_CHECK( f1.valid() ); in test_future_wait_for()
420 BOOST_CHECK( f1.valid() ); in test_future_wait_for()
425 // future retrieved from promise is valid (if it is the first) in test_future_wait_for_ref()
432 BOOST_CHECK( f1.valid() ); in test_future_wait_for_ref()
436 BOOST_CHECK( f1.valid() ); in test_future_wait_for_ref()
440 BOOST_CHECK( f1.valid() ); in test_future_wait_for_ref()
445 // future retrieved from promise is valid (if it is the first) in test_future_wait_for_void()
452 BOOST_CHECK( f1.valid() ); in test_future_wait_for_void()
456 BOOST_CHECK( f1.valid() ); in test_future_wait_for_void()
460 BOOST_CHECK( f1.valid() ); in test_future_wait_for_void()
465 // future retrieved from promise is valid (if it is the first) in test_future_wait_until()
472 BOOST_CHECK( f1.valid() ); in test_future_wait_until()
476 BOOST_CHECK( f1.valid() ); in test_future_wait_until()
480 BOOST_CHECK( f1.valid() ); in test_future_wait_until()
485 // future retrieved from promise is valid (if it is the first) in test_future_wait_until_ref()
492 BOOST_CHECK( f1.valid() ); in test_future_wait_until_ref()
496 BOOST_CHECK( f1.valid() ); in test_future_wait_until_ref()
500 BOOST_CHECK( f1.valid() ); in test_future_wait_until_ref()
505 // future retrieved from promise is valid (if it is the first) in test_future_wait_until_void()
512 BOOST_CHECK( f1.valid() ); in test_future_wait_until_void()
516 BOOST_CHECK( f1.valid() ); in test_future_wait_until_void()
520 BOOST_CHECK( f1.valid() ); in test_future_wait_until_void()