periodically runs the given runnable , which should contain a series of test assertions until all the assertions succeed , in which case it will return , or until the the time expires , in which case it will throw the first failed assertion error . concode_field_sep PlaceHolder placeHolder concode_field_sep void delay
void function ( long arg0 , int arg1 , int arg2 , int arg3 , Runnable arg4 ) { arg1 ( arg1 ) ; while ( true ) { try { arg4 . run ( ) ; break ; } catch ( AssertionError loc0 ) { if ( System . currentTimeMillis ( ) - arg0 > arg3 ) { throw loc0 ; } } arg1 ( arg2 ) ; } }