• The mock object is now complete.

    模拟对象现在完成

    youdao

  • Mock objects and mock object controllers.

    模拟对象模拟对象控制器

    youdao

  • We had to create three mock object classes.

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

    youdao

  • Exercise code that USES the mock object.

    使用mock对象测试代码

    youdao

  • This collaborator must be replaced with a mock object.

    必须模仿对象替换这个合作者

    youdao

  • This kind of mock object is sometimes called a fake.

    这种mock对象有时候称为fake

    youdao

  • Set expectations on the mock object (How will it be used?

    设置mock对象期望是否使用?

    youdao

  • Testing with complex dependencies? Use a mock object.

    测试带有复杂依赖性

    youdao

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

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

    youdao

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

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

    youdao

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

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

    youdao

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

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

    youdao

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

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

    youdao

  • In this case, I can use this mock object for only a single test case.

    这个示例中,这个mock对象只能用于测试

    youdao

  • So a mock object must establish expectations, as well as behavior.

    所以mock对象必须建立预期行为

    youdao

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

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

    youdao

  • You will almost always use mock object frameworks to mock or stub them.

    因此总是需要使用mock对象框架它们进行mockstub。

    youdao

  • This test uses a hand-written mock object to replace the FrogMobile.

    这个测试使用了一个手动编写mock对象替换 FrogMobile。

    youdao

  • We also used an instance variable to store a reference to the mock object.

    我们使用实例变量存储模仿对象引用

    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

  • The mock object must implement the Customer interface from the L_Archive library.

    模拟对象必须l_archive实现Customer接口

    youdao

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

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

    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

  • In your test code, create a mock object implementing the same interface as the collaborator.

    测试代码中,创建模仿对象且实现与合作者相同接口

    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

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

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

    youdao

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

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

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