• 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.

    标记为NotifyCustomer的invoke语句:这是第二个模拟对象的调用点。

    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项目,提供了对Servlet和JSF组件的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

  • Mocks are not stubs. A mock object, instead, is like a gauge that measures the way your application USES an interface.

    mock则不同,mock对象更像一个测量工具,可以测量应用程序使用接口的方式。

    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

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

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

    youdao

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

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

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