• Several books and papers show how to use mock objects in unit testing. These describe the capabilities that mock objects should have and how to use them.

    一些书籍论文讲述如何单元测试使用模拟对象描述模拟对象应该具备能力以及如何使用他们

    youdao

  • I hope that you see the benefits of using mock objects in unit testing. I also hope this brief tutorial helps you see how to create mock objects easily.

    希望你们能够发现单元测试使用模拟对象益处希望篇简短指南能够帮了解如何简单地创建模拟对象。

    youdao

  • As you grow more comfortable using mock objects, you will develop a feel for how much validation responsibility to delegate to the mock.

    随着更加熟练地使用模仿对象对于多少验证职责代理给模仿对象,您将会深有体会。

    youdao

  • At this stage, the mock object is in record state - that is, you're simply defining the method calls it will expect along the way. So, the mock is recording expectations accordingly.

    阶段模拟对象处于记录状态——简单地定义对象一直期望方法调用因此,模拟将相应地记录期望

    youdao

  • We have seen how simple mock objects can enable repeatable unit testing of a BPEL process, and described a simple framework that greatly eases the construction of mock objects.

    我们了解简单模拟对象如何实现BPEL流程可重复单元测试描述了一个简单的框架框架极大地简化了模拟对象的构造

    youdao

  • Mock object: a subclass (or implementation) of the collaborator that follows the mock object pattern.

    模仿对象遵循模仿对象模式合作者子类(实现)。

    youdao

  • Mock objects and mock object controllers.

    模拟对象模拟对象控制器

    youdao

  • The signature of the method is similar to that of the jMock CGLIB mock() method because both methods take on unique mock object identifiers as arguments.

    方法签名类似jMockCGLIBmock() 方法签名,因为这两种方法接纳惟一模拟对象标识符作为参数。

    youdao

  • Our mock object will then implement both the service interface of the component it is replacing, plus the controller interface. An outline of a mock object implementation would look like

    然后我们模拟对象同时实现替换组件服务接口控制器接口。

    youdao

  • To mock a concrete class, use the mock (Class.class, "identifier") method.

    模拟具体,则使用mock (class . class,“identifier ”)方法

    youdao

  • Therefore, when you build the mock service you'll mock the Ajax lib calling your GUI back asynchronously.

    因此,在构建模拟服务模拟ajax异步GUI

    youdao

  • The extra String parameter supplied to jMock CGLIB's mock() method is used as an identifier for the mock object created.

    提供jMockCGLIBmock()方法附加String参数用作创建的模拟对象的标识符。

    youdao

  • Some witnesses are even subjected to mock trials prepared by their lawyers, who then interview the mock "jurors" afterward to learn how the testimony of these witnesses was perceived.

    有些证人甚至参加他们律师安排模拟庭审这些律师随后询问模拟“陪审员”这些证人的证词效果如何

    youdao

  • The product is capable of capturing SOAP requests and responses to create test requests, test cases and mock up services. The tool can even create WSDLs for these mock up services.

    产品可以捕捉SOAP请求响应创建测试请求,测试用例仿真服务

    youdao

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

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

    youdao

  • As you see, there is a mock class for the ACLDao that retrieves specific authorizations; this mock DAO USES properties files so that you can test without needing to install a database.

    正如所看到的,这里一个acldao类型mock用于检索特定授权mockDAO使用属性文件以便可以在不必安装数据库的情况下进行测试

    youdao

  • Summary: The previous mock target was simple, but you can also write mock targets to simulate complex join points (such as cflow ) or sequences of join points that you wish to affect.

    概述一个mock目标简单的,但是可以mock目标编写模拟复杂的联结点(cflow)或者影响的一系列联结点。

    youdao

  • Next, I actually mock the member class and mock a finder that returns mock_member.

    接下来,对这个member返回mock_member的查找器进行mock

    youdao

  • Note that in this example, I combine mock targets with mock objects (as described in Section III, Pattern 2).

    注意这个例子中,结合了mock目标mock对象(i ii节,模式2中所描述的)。

    youdao

  • Mock on, mock on; 'tis all in vain!

    嘲笑吧,嘲笑吧,但一切徒劳

    youdao

  • Mock trial is a special law practice, consisting of preparation, mock trial and summarization.

    摘要模拟法庭审判一种特殊法学实践方法,分为前期准备、模拟庭审、后期总结三个阶段。

    youdao

  • The design characteristic and effect of digital mock-up are introduced in this paper, and hardware makeup of a digital mock-up system which get three channel and stereo display is illuminated.

    本文简要介绍了数字样机技术特点意义,给出了一个三通立体显示的数字样机平台的硬件组成

    youdao

  • Mock interviews for these students have begun. There are also other students who would like to be interviewed in the UK, at Cambridge University. Their mock interviews are scheduled for November.

    但是申请牛津和剑桥同学会其他人的任务重,他们需要可能的面试做准备,情绪也会随之兴奋或焦虑。

    youdao

  • Mock epic: A comic literary form that treats a trivial subject in the grand, heroic style of the epic. A mock epic is also referred to as a mock-heroic poem.

    模仿史诗:以史诗壮丽英雄主义风格针对件小事所写的一种

    youdao

  • Be attended to Mock-up 3D design, Mock-up 2D design, making mobile phone colour samples.

    从事手机模型3D建模、外观2D图设计、手机色彩样品配置

    youdao

  • Be attended to Mock-up 3D design, Mock-up 2D design, making mobile phone colour samples.

    从事手机模型3D建模、外观2D图设计、手机色彩样品配置

    youdao

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

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

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