WebService引入了一些额外的场景,非常适于使用模仿方式。
Web services introduce additional situations where usage of mock approach can be very useful.
随着您更加熟练地使用模仿对象,对于将多少验证职责代理给模仿对象,您将会深有体会。
As you grow more comfortable using mock objects, you will develop a feel for how much validation responsibility to delegate to the mock.
给模仿对象一个接口,您希望实际组件具备这个接口,然后使用模仿对象,直到实际组件成形。
You give the mock objects an interface you want the real components to have, then you use the mocks until the real components take shape.
还可以使用模仿器不同的环境要素,如照明条件,雾,风等,将采取为在所有运营商都培训帐户。
Using a simulator also enables different environmental aspects, such as lighting conditions, fog, wind, and so on, to be taken into account in the training of all operators alike.
使用模仿工具的一个好处是,我们可以生成经过裁剪的模仿,它只有足以帮助我们进行测试的功能。
The benefit of using a mocking tool is that we can create mocks that are tailored with just enough functionality to help us in our tests.
如果你想赞赏并模仿某人的作品,就要确保你使用的是正确的方式,以避免抄袭。
If you want to compliment someone on the work they have done and imitate it, just make sure you do it the right way to avoid committing plagiarism.
罗马人模仿了这个想法,现在世界各地都在使用罗马字母表。
The Romans copied the idea, and the Roman alphabet is now used all over the world.
在移植测试中,为了更好地模仿客户是如何使用您的软件,要将客户架构移植到您的测试环境中。
In transplant testing, client artifacts are transplanted into your test environment in an effort to better mimic how the clients are using your software.
用户效率:一个成功的场景是模仿用户使用产品的方式,拥有一个简单的工作流程。
User productivity: a successful scenario is one that mimics how a customer USES the products and has a simple workflow.
由于没有视觉经验的个体仍然具有学习和模仿别人的能力,这种研究有助于解释盲人如何使用自己的其他感官与外界互动。
Since individuals with no visual experience still learn from and imitate others, studies such as this help explain how they can use their other sensory modalities to interact with the world.
计算机科学的一个分支,研究如何使用电脑模仿人的思维,并执行一些通常与人类智能有关的功能。
The branch of computer science that deals with using computers to simulate human thinking and to perform functions normally associated with human intelligence.
我们不应描绘声音,我们必须造出模仿声音的词语;我们必须在同一张纸上使用不同型号和不同颜色的墨水,任意缩短或加长词语。
Instead of describing sounds we must make up words that imitate them; we must use many sizes of type and different colored inks on the same page, and shorten or lengthen words at will.
哈佛大学的德里克·罗斯进行了相似的研究,他使用合成核糖核酸信使分子模仿病变基因的活动。
Derrick Rossi of Harvard University has performed a similar trick using synthetic RNA messenger molecules to mimic the activity of the genes in question.
目前为止的示例(计数器和堆栈)都是非常简单的非阻塞算法,一旦掌握了在循环中使用CAS,就可以容易地模仿它们。
The examples so far -- counter and stack -- are very simple nonblocking algorithms and are easy to follow once you grasp the pattern of using CAS in a loop.
这需要考虑到使用动态模仿对象的可靠测试策略。
This allows for a reliable testing strategy that USES dynamic mock objects.
使用极大或极小的数字或者模仿从数值类型派生的私有数据类型。
Using very large or very small Numbers or emulating private data-types derived from numeric types.
由于它们使用颜色、黑体字和其它排版属性来模仿能处理XML内容的字处理器,因此被称为“伪所见即所得”。
They are called "pseudo-WYSIWYG" because they use color, boldness, and other typographic attributes to emulate a word processor with XML content.
如果想模仿这些例子,请使用适合您自己的设置。
Use values appropriate for your setup if you choose to duplicate these examples.
我们到了一个需要优雅地处理多处弯曲的步骤,但是,其核心方法不过是拷贝、移动和使用变形工具模仿曲线。
We have reached a delicate part which takes a lot of tweaking to get right, but the main idea is to use a copy of the volume, move it into place and then use the Warp Tool to simulate the curvature.
为了创建一个流线型的SOA集合进程,服务不得不模仿关键的功能,得到统一定义,并且已经可以使用。
To establish a streamlined SOA assembly process, services have to mimic key business functions, be uniformly defined, and be readily available.
清单3中的代码完全模仿了清单1的行为,并使用两个 EXSLT函数解决了上述的问题。
The code in Listing 3 correctly emulates the behavior of Listing 1, while using a couple of EXSLT functions to solve the problems I've described.
不应该模仿现实世界(例如,通过视频的使用),而应该使用社会代理的概念。
Instead of imitating the real world (through the use of videos, for example), use the concept of social proxies.
使用辅助表模仿数据倾斜。
用来测量用户客户机响应时间的测试方法是为了模仿典型用户使用DominoWebAccess的方式而设计的。
The test methodology used to measure the user client response times was designed to simulate how a typical user would use Domino Web Access.
能模仿. NET的产品将需要现有的,使用旧的Microsoft技术(比如VisualBasic)的应用程序升级到可以利用它的服务。
A product that emulates.net would require that existing applications that use older Microsoft technologies (like Visual Basic) be upgraded to take advantage of its services.
Wicket通过使用内置的模仿对象框架提供对容器外单元测试的支持。
Wicket supports out-of-container unit testing through the use of a built-in mock object framework.
我的公司使用的是Zimbra邮件套件,它模仿的是MicrosoftOutlook,我猜想其中的原因一定是觉得看起来像桌面应用程序就会感觉上也像桌面应用程序。
My company USES the Zimbra mail suite, and it is modeled to look like Microsoft Outlook, with (I suppose) the impetus that looking like a desktop app will make it feel like one.
在目睹了几次这样简单的情形之后,参与实验的学生开始模仿并以自己从未使用过的拣笔方式拾笔2到3次。
In several versions of this simple sequence, participants who had been mimicked were two to three times as likely to pick up the pens as those who had not.
UpulGodage写的一个新的教程描述了如何使用ApacheSynapse来为开发和测试模仿webservices。
A new tutorial by Upul Godage describes how to use Apache Synapse to mock web services for development and testing.
这意味着WebSphere可以模仿浏览器或者使用Dominoservlet引擎(而且可以在响应中传输任何内容的Domino servlet)。
This means WebSphere mimics a browser or USES the Domino servlet engine (and a Domino servlet can transfer anything in the response).
应用推荐