方法特化 (Method Specialization) 在前面对sub的讨论中,采取了 一 种最简单的override的规则,那就是,overriding的方法必须和overriden的方法有相同的signatu...
基于36个网页-相关网页
In the specialization object, override the creation method to return a mock object that accommodates your test.
在特殊化对象中,覆盖创建方法以返回为测试提供的模仿对象。
Specialization object: a subclass of the target that overrides the creation method to return a mock instead of a collaborator.
特殊化对象:覆盖创建方法以返回模仿对象而不是合作者的目标的子类。
The essay deals with the position and functions of specialization method in scientific study.
本文简要分析了特殊化方法在科学研究与认识中的地位和作用。
应用推荐