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

    We had to create three mock object classes.

    youdao

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

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

    youdao

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

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

    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

  • 只要针对使用对象方法执行简单模拟期望足以测试那些执行。

    As long as there are method executions against objects the class USES, simple mock expectations are sufficient to test those executions.

    youdao

  • 模拟对象将模仿出于指导代码执行惟一目的而编写行为以便测试符合代码执行要求。

    Mock objects mimic the behavior of classes written with the sole purpose of guiding code execution so that it falls within those areas under test.

    youdao

  • 上述代码定义了Customer操作我们需要运行模拟之前创建一些实际顾客对象

    The above code defines what a Customer class does, but we need to create some actual customer objects before we run a simulation.

    youdao

  • 经验证明如果测试扩展整个TestCase对象属于RMock,则通过两个框架构造使用模拟对象容易。

    Experience shows that it's easier to construct and use mock objects from both frameworks if the overall TestCase object from which the test class extends belongs to RMock.

    youdao

  • 客户服务定义了具体的实现负责指示板传递数据生成请求对象调用特定模拟服务。

    The client service layer defines the implementation classes responsible for taking the data passed from the dashboard, creating the request objects, and invoking a specified simulator service.

    youdao

  • 不过静态有助于开发者更加方便地ASP.NETMVC应用程序中创建模拟对象

    This static class helps to make mocking a lot easier in ASP.NET MVC applications.

    youdao

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

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

    youdao

  • 只是使用虚构,用于强化一个要点:要模拟构造函数接收对象参数必要使用RMock

    This class is just a dummy class I use to reinforce the point that RMock is necessary for mocking classes in which constructors receive object parameters.

    youdao

  • 相反,在编写通用方法模拟以上操作就比较合适继承了appobjects文件夹中的GUI对象

    Instead, it's good to write a generic method in a class to simulate the above action, which inherits the GUI object class in the appobjects folder.

    youdao

  • 模拟对象Collaborator强制转换十分有必要,因为intercept方法将返回型Object。

    The class cast of the mock object into type Collaborator is necessary because the intercept method returns type object.

    youdao

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

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

    youdao

  • 面向对象思想应用化工过程模拟领域,提出了为重用而系统地建立化工过程模拟思想。

    Object oriented technology is used to chemical process simulation, and the idea of developing a class library for chemical process simulation is provided.

    youdao

  • 装置模拟装置各种过程以此为对象进行各种控制策略实践理论研究

    This equipment can simulate the processes of tower equipment of many kinds, and can carry on control strategies practice and theory researches based on this equipment.

    youdao

  • 装置模拟装置各种过程以此为对象进行各种控制策略实践理论研究

    This equipment can simulate the processes of tower equipment of many kinds, and can carry on control strategies practice and theory researches based on this equipment.

    youdao

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

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

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