• 我们需要创建三个模拟对象

    We had to create three mock object classes.

    youdao

  • 开始,模拟对象看上去令人生畏。

    At first, mock objects can seem quite daunting.

    youdao

  • 模拟对象用于验证预期正在生成

    Mock objects are used to verify that the expected values are being generated.

    youdao

  • 模拟对象模拟对象控制器

    Mock objects and mock object controllers.

    youdao

  • 通过名为模拟对象常见测试模式实现

    This is accomplished with the common testing pattern known as mock objects.

    youdao

  • 我们提供一些快速创建模拟对象技术

    We will also present some techniques for creating mock objects quickly.

    youdao

  • 模拟对象现在完成

    The mock object is now complete.

    youdao

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

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

    youdao

  • 创建模拟对象作为具体中的一个子类

    Create a mock object class as a subclass of the concrete class.

    youdao

  • 使用其他工具或者那些预先打包好的模拟对象

    Use other tools, or use pre-packaged mock objects.

    youdao

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

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

    youdao

  • 现在我们使测试我们模拟对象使用两个接口

    We now have enabled the tests to use both interfaces to our mock object.

    youdao

  • 一些模拟对象可以模拟对象网站4上中找到

    Some of these can be found on the mock objects' Webpages. 4.

    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

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

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

    youdao

  • 这些示例中我们每个模拟对象创建单独模块

    In these examples, we create separate modules for each mock object.

    youdao

  • 本文稍后的部分中我们创建两个服务模拟对象

    We will create mock objects for these two services later in this article.

    youdao

  • 这些测试可让我们直接使用Customer模拟对象

    These tests enable us to exercise the Customer mock object directly.

    youdao

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

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

    youdao

  • 深入探讨模拟对象之前,我们来看一下以下两点异议

    Let's look at the first two objections before we delve into mock objects.

    youdao

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

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

    youdao

  • 5显示了我们介绍测试规范流程模拟对象之间关系

    Figure 5 shows the relationship between the test specifications, the process, and the mock objects we have described.

    youdao

  • 为此项目创建两个模拟对象分别模拟GPS设备UI

    I create two mock objects for this project to simulate the GPS device and the UI, respectively.

    youdao

  • 简化单元测试一个流行技巧就是创建用于测试中的模拟对象

    A popular technique for simplifying unit tests is to create mock objects that are used just in the tests.

    youdao

  • 开始使用模拟对象之前可能希望检查当前实现业务流程

    Before we start work on the mock objects, you might like to examine the business process as it is currently implemented.

    youdao

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

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

    youdao

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

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

    youdao

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

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

    youdao

  • 我们测试代码特别是模拟对象使我们能完全控制数据库结果

    Our test code, specifically the mock objects, give us total control over the database results.

    youdao

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

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

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