• 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

  • 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

  • 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对象框架对它们进行mock或stub。

    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 mock object must implement the Customer interface from the L_Archive library.

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

    youdao

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

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

    youdao

  • In unit testing language, this is called a mock object (see Resources for more information).

    按照单元测试的术语,这称为模拟对象(mock object),更多信息参见参考资料中的链接。

    youdao

  • 050-CheckNotification will then verify that the CustomerCommiunication mock object was called with the correct data.

    050-CheckNotification然后将验证是否使用正确的数据调用了CustomerCommiunication 模拟对象。

    youdao

  • Listing 3 shows the mock device object code.

    清单3给出模拟设备对象的代码。

    youdao

  • For this reason, for ChangingThePresent, we do not mock model object classes.

    出于这个原因,我们没有为ChangingThePresentmock模型对象类。

    youdao

  • For this reason, for ChangingThePresent, we do not mock model object classes.

    出于这个原因,我们没有为ChangingThePresentmock模型对象类。

    youdao

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

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

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