• We will enable such testing by creating a suitable mock object.

    我们通过创建合适模拟对象来启用此类测试

    youdao

  • We will be using these later in our second mock object implementation.

    稍后我们第二模拟对象实现使用它们

    youdao

  • The setUp method instantiates the mock object and injects it into the aspect.

    setUp方法实例mock对象注入方面中。

    youdao

  • A mock object based on a ClassB class is constructed and provided an expectation.

    构建基于classb模拟对象并向其提供期望

    youdao

  • You can combine mock object testing with a variety of techniques and technologies.

    可以模仿对象测试各种技巧技术组合起来。

    youdao

  • The mock object is now ready for use in the ServiceClass class as a real object.

    模拟对象现已准备好在serviceclass作为实际对象使用

    youdao

  • In the last step, the Mock Object reports the Retrieval Notification it received.

    最后一步中,模拟对象将报告收到检索通知

    youdao

  • Add methods to the mock object that allow you to initialize it properly for your tests.

    模拟对象里添加方法使得测试正确地初始化。

    youdao

  • A BPEL process makes several different calls to the same mock object in rapid succession.

    BPEL流程连续快速同一模拟对象发出多个不同调用

    youdao

  • It can be treated just like a mock object. For example, the size method can be stubbed out.

    看作一个mock对象

    youdao

  • Finally, you can see the test step checking that the mock object did receive the correct data.

    最后可以看到测试步骤正在检查模拟对象是否收到正确数据

    youdao

  • The Invoke statement labelled NotifyCustomer: this is our second mock object invocation point.

    标记为NotifyCustomerinvoke语句第二个模拟对象调用

    youdao

  • Examine the values entered in the binding TAB to see how they refer to your mock object module.

    检查Binding选项卡输入了解它们如何引用模拟对象模块

    youdao

  • The mock object classes we have can be reused and enhanced for future tests with minimal effort.

    已有模拟对象可以再度使用,稍做修改就可以用于未来的测试。

    youdao

  • These are supplied to enable a quick demonstration of the mock object we are about to build next.

    提供这些内容为了能够快速演示我们接下来将要构建模拟对象

    youdao

  • When the mock object is destroyed, it checks that all expectations on it have been satisfied.

    mock对象销毁时,系统检查期望是否都满足了。

    youdao

  • Wicket supports out-of-container unit testing through the use of a built-in mock object framework.

    Wicket通过使用内置模仿对象框架提供对容器外单元测试支持

    youdao

  • A mock object enables you to test your component without having to depend on the external resource.

    模拟对象允许组件进行测试不必依赖外部资源

    youdao

  • A mock object is a replacement for a real object that we create for the express purpose of testing.

    为了达到快速测试目的我们创建模拟对象代替真实的对象。

    youdao

  • You've seen an example of this already. When we trained our network mock object, we wrote this.

    其实已经看到这个例子

    youdao

  • Mock object: a subclass (or implementation) of the collaborator that follows the mock object pattern.

    模仿对象遵循模仿对象模式合作者子类(实现)。

    youdao

  • We accomplish this by extending the capabilities of the mock object, adding a second interface (Figure 6).

    我们通过扩展模拟对象功能完成一点,即添加第二个接口(6)。

    youdao

  • Shale Test Framework, an Apache project, provides mock object implementations for Servlet and JSF components.

    Shale测试框架作为一个Apache项目提供了ServletJSF组件mock对象实现

    youdao

  • In the specialization object, override the creation method to return a mock object that accommodates your test.

    特殊化对象中,覆盖创建方法返回测试提供的模仿对象。

    youdao

  • And the fourth and final change required is to bring the RMock mock object out of record state into ready state.

    第四项也是最后一必需更改使RMock模拟对象脱离记录状态转入就绪状态。

    youdao

  • Since the method under test is written to the interfaces, we can create a mock object for each interface for our tests.

    既然测试方法接口我们可以我们测试接口创建一个模拟对象

    youdao

  • Sometimes you may want to develop much more complex mock object classes because they will give you additional benefits.

    有时可能需要开发复杂模拟对象因为他们带给额外的收益

    youdao

  • The class cast of the mock object into type Collaborator is necessary because the intercept method returns type object.

    模拟对象Collaborator类型强制转换十分有必要,因为intercept方法将返回类型Object

    youdao

  • The class cast of the mock object into type Collaborator is necessary because the intercept method returns type object.

    模拟对象Collaborator类型强制转换十分有必要,因为intercept方法将返回类型Object

    youdao

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

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

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