• This code USES the private methods to retrieve an object from the pool and call the provided delegate.

    该代码使用私有方法从池中检索对象,并且调用所提供的委托。

    youdao

  • I'll also address some other sticky design questions about TDD, such as if and when to test private methods.

    我还将解答其他某些棘手的TDD设计问题,例如是否测试及何时测试私有方法。

    youdao

  • Sometimes the code is very obviously unreachable (uncalled private methods, unread local variables, and so forth).

    有时候,这些代码是明显不可达的(未调用的私有方法以及未读入的本地变量,等等)。

    youdao

  • In particular, being able to change a few private methods to public would have made this code a lot easier to write.

    特别是将一些私有方法变成公有方法能够使这个代码编写起来更容易。

    youdao

  • Keep in mind also that using reflection to invoke private methods does introduce a level of brittleness to the resulting tests.

    还请记住,使用反射调用private方法会对生成的结果带来一定程度的脆弱性。

    youdao

  • The populate method is much shorter now, and it reads like an outline of the tasks it needs to perform, with the task implementation residing in private methods.

    populate方法现在短多了,看起来像是它需要执行的任务的大纲,任务的实现都放在私有方法中。

    youdao

  • The populate method is much shorter now, and it reads like an outline of the tasks it needs to perform, with the task implementation residing in private methods.

    populate方法现在短多了,看起来像是它需要执行的任务的大纲,任务的实现都放在私有方法中。

    youdao

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

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

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