He frowned with mock severity.
他沉下脸来,装出一副严厉的样子。
"Once," said the Mock Turtle at last, with a deep sigh, "I was a real Turtle."
最后,假海龟终于开口了,它深深地叹了口气,说:“以前,我是一只真海龟。”
With boisterous mirth they dropped upon their knees in a body and did mock homage to their prey.
大家在一阵喧闹的欢笑声中一起跪下,假装对他们作弄的对象表示尊敬。
You can combine mock object testing with a variety of techniques and technologies.
您可以将模仿对象测试与各种技巧和技术组合起来。
For example, a mock database is a simple object with the API of a database that accepts a few known SQL strings and returns a fixed set of results for each one.
例如,模拟数据库是一个简单对象,但具有数据库的API,可以接受一些已知的sql字符串,并为每个字符串返回一组固定的结果。
But there are some easy ways to create mock objects, or equivalent capabilities, with existing tools.
但是利用现有的工具可以有一些创建模拟对象或是相当能力的简单方法。
In my work with mock juries, we found that attorneys, or for that matter witnesses, that hide their hands are perceived as less open and less honest by the jurors.
在和模拟陪审团一起工作时发现,如果律师或事件的目击者把手藏起来,陪审员就会觉得他们不坦率,不真诚。
At this point, it's worth asking what benefits we achieved with the mock objects and what did they cost.
在这一环节,值得探讨我们使用模拟对象得到的收益是什么以及花费的代价是什么。
For example, for testing purposes you can replace a heavy database implementation with a lighter-weight mock implementation.
举例来说,出于测试的目的,你可以用模拟的轻量级数据库实现来替代实际的大型数据库。
Specifically, I want to offer some tips on how easy it can be to write unit tests with mock objects.
特别地,我想提供一些技巧来说明编写带有模拟对象的单元测试是多么容易。
It is capped with a mock-up of the Ares I second stage, Orion capsule and launch abort system.
它的顶端装着模拟的战神一号第二节、猎户星座太空舱和发射中止系统。
The mock object classes we have can be reused and enhanced for future tests with minimal effort.
已有的模拟对象类可以再度使用,稍做修改就可以用于未来的测试。
It is very simple and contains exactly one service and one view model with a "mock database".
它非常简单并且只包含一个服务和一个带模拟数据库的视图模型。
In this solution, the code that performs the lookup is replaced automatically with code that returns a mock object instead.
在这个解决方案中,执行查找的代码被返回模仿对象的代码自动替换。
And in mock trials, people with baby faces are more likely to be found innocent than people like Ben Affleck, who do not have baby faces.
在模拟法庭,拥有娃娃脸的人比像本·阿弗莱克的人,更易被判定无罪,他没有娃娃脸。
Joyce was always driving Patty's siblings to Painting, Guitar, Ballet, Japanese, Debate, Drama, Piano, Fencing, and Mock Court, but Patty herself seldom rode with Joyce anymore.
乔伊斯经常开车送帕蒂的弟妹们去学画画、上吉他课、练芭蕾、学日语、参加辩论班、戏剧表演、弹钢琴、击剑练习、还有模拟法庭,但帕蒂就很少和乔伊斯同车。
However, if you can't reliably and automatically test with the real class for any reason, then testing with a mock is infinitely superior to not testing at all.
但是,如果由于某种原因无法用真实的类可靠且自动地进行测试,那么用mock进行测试肯定比根本不测试强。
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.
模拟对象将模仿出于指导代码执行的惟一目的而编写的类的行为,以便它在测试时符合代码执行要求。
The US research looked at 98 undergraduates taking part in mock interviews with businesses.
美国开展的这项研究调查了98位参加模拟企业面试的大学生。
Still, it is often more natural to start with CSS, maybe from a visual mock-up of some sort.
尽管如此,从CSS开始入手通常更自然一些,也许应该从某种可视的模型入手。
I've included a series of sample questions for you to use as a starting point, and then practice with as many mock tests as you can find.
我已经包含了一系列样题供您作为起点使用,然后请寻找尽可能多的模拟试题来进行练习。
Amy Chua lives in New Haven, Conn., in an imposing mock-Tudor mansion - complete with gargoyles - that was built in the 1920s for a vaudeville impresario.
蔡美儿住在康涅狄格州的纽海文,一幢宏伟的仿都铎式宅邸—还有滴水兽—是1920年代为一个轻歌剧经理盖的。
Now that his secret identity has been revealed and world peace achieved, he's reduced to strutting in the spotlight, singing his own praises with mock humility.
他的秘密身份已经泄漏,世界倒也恢复了和平,他便尽力不再暴露在闪光灯的聚焦之下,自嘲般地称颂自己。
The little witch put a mock malignity into her beautiful eyes, and Joseph, trembling with sincere horror, hurried out praying and ejaculating 'wicked' as he went.
这个小女巫那双美丽的眼睛里添上一种嘲弄的恶毒神气。约瑟夫真的吓得直抖,赶紧跑出去,一边跑一边祷告,还嚷着“恶毒!”
The bishop of Salisbury puts an end to the popular practice of seducing girls into mock marriage with rings made of rushes.
索尔兹伯里主教结束了利用灯心草制成的戒指引诱女孩假婚的流行做法。
The third change involves the construction of one or more expectations on the RMock mock object with the correct syntax.
第三项更改涉及用正确语法构造对RMock模拟对象的一个或多个期望。
The third change involves the construction of one or more expectations on the RMock mock object with the correct syntax.
第三项更改涉及用正确语法构造对RMock模拟对象的一个或多个期望。
应用推荐