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

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

    youdao

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

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

    youdao

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

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

    youdao

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

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

    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

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

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

    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

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

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

    youdao

  • 但是利用现有工具可以一些创建模拟对象或是相当能力简单方法

    But there are some easy ways to create mock objects, or equivalent capabilities, with existing tools.

    youdao

  • 检查测试规范提醒自己如何结合使用测试模拟对象验证流程行为

    Examine the test specifications to remind yourself of how the tests and mock objects cooperate to verify the process behaviour.

    youdao

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

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

    youdao

  • 我们大约需要编写50代码真正执行我们模拟对象所需行为

    We had to write approximately 50 lines of code that actually implemented the behavior we needed in our mock object classes.

    youdao

  • 实现模拟对象时,我们需要考虑如何生成驱动不同路径所需不同错误

    When we implement our mock object, we will need to consider how to produce the different errors needed to drive the different paths.

    youdao

  • 特别地提供一些技巧说明编写带有模拟对象单元测试多么容易

    Specifically, I want to offer some tips on how easy it can be to write unit tests with mock objects.

    youdao

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

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

    youdao

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

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

    youdao

  • 接口创建模拟对象过程简单易行能帮助我们开发有效单元测试套件

    The process for building mock objects from interfaces is simple, straightforward, and helps me develop effective unit test suites.

    youdao

  • 现在我们可以BPEL流程连接我们创建两个模拟对象然后运行测试

    We can now wire the BPEL process to the two mock objects we created and run the tests.

    youdao

  • SOA开发流程第三开发服务模拟——通过服务测试模拟对象

    The third step in this SOA development process is to develop service mocks -- mock objects that pass the service tests.

    youdao

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

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

    youdao

  • 一环节值得探讨我们使用模拟对象得到收益什么以及花费的代价是什么。

    At this point, it's worth asking what benefits we achieved with the mock objects and what did they cost.

    youdao

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

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

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