Junit
@Test(timeout=3000)
public void testWhile() {
while(true) {
System.out.println("Run Forever");
}
}
你好!我想請教下為什么這個方法測試不通過?
@Test(timeout=3000)
public void testWhile() {
while(true) {
System.out.println("Run Forever");
}
}
你好!我想請教下為什么這個方法測試不通過?
2015-04-21
舉報
2017-03-14
運行超時timeout,所以不通過
2015-04-22
有什么報錯信息嗎