• You're now forced to find a way of providing arguments to the mock object instantiation process to achieve the same effect, which is precisely why you use RMock.

    现在必须找到种方法把参数提供模拟对象实例化过程达到同样效果就是使用 RMock 的原因

    youdao

  • The signature of the method is similar to that of the jMock CGLIB mock() method because both methods take on unique mock object identifiers as arguments.

    方法签名类似jMockCGLIBmock() 方法签名,因为这两种方法接纳惟一模拟对象标识符作为参数。

    youdao

  • By placing assertions inside the mock code, you can verify that the code under test is passing the correct arguments to its collaborators at the right time.

    通过断言放在mock代码中,可以检查测试代码是否适当时候适当参数传递协作者

    youdao

  • You'll get an error immediately if a mock method is called more times than expected or with the wrong arguments.

    如果某个mock方法调用次数超过期望值或是参数不正确就会立刻看到一个错误

    youdao

  • Here is the jsfiddle. For test purpose, I replaced doAjax arguments by a mock factory call, but the code stay the same.

    认为你的代码做正确方式,把你的电话一个新的推迟,直到所有的尝试达到了回报。

    youdao

  • Here is the jsfiddle. For test purpose, I replaced doAjax arguments by a mock factory call, but the code stay the same.

    认为你的代码做正确方式,把你的电话一个新的推迟,直到所有的尝试达到了回报。

    youdao

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定