Replace Exception with Test 用测试代替异常 ; 以测试取代异常 ; 用测试替代非常 ; 以测试庖代异常
Coprocessor Error Exception Test 辅助处理器容错测试
Replace e Exception with Test 以测试取代异常
If no exception is thrown, the test passes.
若未抛出任何异常,测试即通过。
Throwing an exception not only unwinds the test but also signals an error.
抛出异常不仅要展开测试,还将报告错误。
This is important to know if you are expecting your test to throw an exception.
在预料到测试会抛出异常时,这一点很重要。
I'm going to throw it, or raise it, to use the right term to somebody in case they can handle it, but it's a particular kind of exception I might do something like, remind you I have test.
编译器就要抛出他或者提出它,用正确的描述给某个人来处理,但他的确是一种异常,我来做些类似的事情,告诉你我有些测试。
应用推荐