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 . the start of the period is the current time and each successive assertion attempt is delayed by at least 10 milliseconds unless the duration is less than that , in which case the one and onlyassertion is made after that delay . concode_field_sep PlaceHolder placeHolder concode_field_sep void delay
void function ( int arg0 , Runnable arg1 ) { int loc0 = Math . min ( arg0 , Math . max ( 10 , arg0 / 10 ) ) ; assertAfter ( loc0 , arg0 , arg1 ) ; }