JUnit4:@Test注解的expected和timeout属性
JUnit4:Test文档中的解释: The Test annotation supports two optional parameters. The first, expected, declares that a test method should throw an exception. If it doesn't throw an exception or if it ...
原创
2018-09-21 09:42:20 ·
1607 阅读 ·
0 评论