If the mock does not receive the call, it will fail the test automatically during tear down.
如果mock没有收到调用,那么它就会在销毁时自动使测试失败。
The DOH also allows you to specify a custom timeout in milliseconds that will fail the test if a response is not returned within the specified time.
DOH还允许以毫秒为单位设定超时值,一旦响应没有在指定的时间内返回,测试就会失败。
The results showed that 3 to 4-year-olds tended to fail the test by pointing to the actual position of the chocolate rather than where Maxi thought it was.
结果显示,3到4岁的孩子一般不能通过这个测试,他们会回答巧克力实际的位置,而不是Maxi以为巧克力在哪。
People who fail the test become ineligible for welfare for a year, though this is dropped to six months if they prove that they have successfully completed drug treatment (which they must pay for).
未通过检测的人一年内不能享受任何福利待遇,如果他们能够证明自己已经成功戒掉毒瘾(接受戒毒治疗需付费)的话,这一期限将缩减为六个月。
People who fail the test become ineligible for welfare for a year, though this is dropped to six months if they prove that they have successfully completed drug treatment (which they must pay for).
未通过检测的人一年内不能享受任何福利待遇,如果他们能够证明自己已经成功戒掉毒瘾(接受戒毒治疗需付费)的话,这一期限将缩减为六个月。
应用推荐