Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

how todo a timeout test java

Timeout test example
@Test(timeout = 500)
public void testTimeoutOne() throws InterruptedException 
{
	TimeUnit.SECONDS.sleep(1);
}
Source by howtodoinjava.com #
 
PREVIOUS NEXT
Tagged: #todo #timeout #test #java
ADD COMMENT
Topic
Name
6+1 =