void assertThreadsStayAlive(long millis,Thread... threads){
  try {
    delay(millis);
    for (    Thread thread : threads)     assertTrue(thread.isAlive());
  }
 catch (  InterruptedException fail) {
    threadFail("Unexpected InterruptedException");
  }
}

void assertThreadsStayAlive ( long millis , Thread ... threads ) { try { delay ( millis ) ; for ( Thread thread : threads ) assertTrue ( thread . isAlive ( ) ) ; } catch ( InterruptedException fail ) { threadFail ( "Unexpected InterruptedException" ) ; } }
checks that the threads do not terminate within the given millisecond delay .
