• The Collaborator class constructor is still quite simple.

    Collaborator构造函数仍然十分简单。

    youdao

  • Listing 6 shows the changes made to the Collaborator object.

    清单6显示Collaborator对象所做更改

    youdao

  • Second, the manner of mocking the Collaborator class has changed.

    第二模拟collaborator方式已经更改

    youdao

  • Identify all occurrences of code that create or obtain the collaborator.

    标识创建获取合作者代码所有出现

    youdao

  • Listing 13 shows the most important part of the test example: the Collaborator class.

    清单13显示了测试示例重要部分collaborator

    youdao

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

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

    youdao

  • The only way of instantiating the Collaborator object is to provide two simple arguments.

    实例Collaborator对象惟一方法提供两个简单参数。

    youdao

  • For instance, you may change the method signature so that the collaborator object is passed in.

    例如可以更改方法签名以便传入合作者对象

    youdao

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

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

    youdao

  • The interface ICollaborator has a single method that must be implemented in the Collaborator class.

    接口icollaborator必须collaborator类中实现方法

    youdao

  • The second thing to notice is that, conversely, you couldn't use the jMock framework to mock the Collaborator class.

    反过来需要注意的第二不能使用jMock框架模拟 Collaborator 类。

    youdao

  • Also suppose that the Collaborator object requires a string and a primitive int as parameters passed to the constructor.

    同时假定Collaborator对象要求使用字符串原始int作为传递给构造函数的参数

    youdao

  • Instead of accepting an ICollaborator interface, it now accepts a concrete class implementation (the Collaborator class).

    现在接受ICollaborator接口接受具体实现(collaborator类)。

    youdao

  • Within the setUp method, you instantiate an object array with the actual values the Collaborator class 'constructor needs.

    setUp方法内,collaborator构造方法所需实际实例对象数组

    youdao

  • On the first photo evidently previous signboard and to (now Scott) the collaborator ATI (now AMD), with whom made the means RUBY.

    一张照片显然以前的招牌现在斯科特合作者的ATI (现在的AMD ) ,作出手段红宝石

    youdao

  • The second change required is to construct (at the very least) an object array holding the actual values of parameters to be passed into the Collaborator class' constructor.

    必需第二更改至少构造一个保存传递给 Collaborator构造函数的参数实际对象数组

    youdao

  • In many cases, changing the method signature so the collaborator becomes a parameter will result in a confusing, untested snarl of code inside the method's original callers.

    许多情况下更改方法签名使合作者成为参数将会在方法原始调用者内部产生混淆未经试验代码混乱

    youdao

  • You certainly shouldn't ditch teamwork, but how can you avoid the hazards of being an over-collaborator?

    当然应该放弃团队合作如何才能避免过度合作带来风险呢?

    youdao

  • Having moved to the University of Cambridge he needed a collaborator to help him apply these techniques in human patients.

    移居英国剑桥大学后,需要一个合作者这些技术应用人类患者身上

    youdao

  • Problem: The object being tested creates a collaborator object.

    问题正在测试对象创建合作者对象。

    youdao

  • But that's not the real reason, according to Dr. Ariely and his collaborator in the experiments, Jiwoong Shin, an economist who is now at Yale.

    但是埃雷里博士她本次实验合作者,耶鲁大学的经济学申纪武认为并非真正原因所在。

    youdao

  • Crick writes to collaborator Dr. Maurice Wilkins and praises the exit of a female collaborator, Dr. Rosalind Franklin.

    克里克写信合作者莫里斯·威尔金博士,庆幸一位女性合作者罗莎林德·富兰克林退出

    youdao

  • Collaborator is the class you must mock appropriately.

    Collaborator必须正确模拟

    youdao

  • Specialization object: a subclass of the target that overrides the creation method to return a mock instead of a collaborator.

    特殊化对象覆盖创建方法返回模仿对象而不是合作者目标子类

    youdao

  • Have a collaborator stand at the exit.

    一位合作者出口处

    youdao

  • If production code has no need to instantiate many types of this collaborator, then adding that ability will make the resulting design needlessly hard to understand.

    如果产品代码无需实例化合作者多个类型那么添加功能使最终设计不必要地变得难于理解

    youdao

  • Lyricist Irving Caesar happened to hear him play the piano and thought he resembled his former collaborator George Gershwin.

    抒情诗人欧文·凯撒偶然听到弹奏钢琴觉得很像自己以前合作者乔治·格什温

    youdao

  • In this case, the aspect determines when some behavior should be executed but delegates to a collaborator to perform the actual work.

    这种情况下方面确定什么时候应当执行某些行为但是会委托协作执行实际工作

    youdao

  • In this case, the aspect determines when some behavior should be executed but delegates to a collaborator to perform the actual work.

    这种情况下方面确定什么时候应当执行某些行为但是会委托协作执行实际工作

    youdao

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

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

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