场景3:使用jMock和RMock 模拟带有非默认构造函数的具体类
Scenario 3: Use jMock and RMock to mock a concrete class with a nondefault constructor
主体概念是一类特殊的概念:它们是具体的、与主体相关的、非抽象的。
Subject concepts are a special kind of concept: ones that are concrete, subject-related and non-abstract.
这对于非集群环境可能足够了,但是取决于具体的情形,这可能不适合于集群拓扑。
This is likely enough for a non-clustered environment, but it may not be suitable for clustered topologies, depending on the situation.
另外的解决方案,取决于具体的错误,可能是手工重建非聚簇索引,如果数据是静态的手工扔掉和重新载入表,诸如此类。
Additional solutions, depending on the errors, may be to manually rebuild non-clustered indexes, manually drop and reload a table if the data is static, and so on.
然后可以对模式应用详细的功能和非功能需求以选择用于具体实现的相应产品集。
Applying detailed functional and non-functional requirements to the pattern can then be used to select the appropriate product set for concrete implementation.
工程师们正在研发更多高效的方法,批量生产非均匀性多孔材料和固体泡沫,以适应具体的结构应用。
Engineers are developing more efficient methods to mass produce non-uniform porous materials and solid foams that can be tailored to specific structural applications.
这些非功能性的需求应该在早期就被具体地定义下来,我会在后面具体解释。
These should be detailed early on, as I will explain later in this chapter.
具体的IER特征与非功能需求或设计约束相关。
Specific IER characteristics are typically associated with non-functional requirements or design constraints.
中方期待秘书长即将就有效支持非盟的具体办法提交报告。
China is looking forward to the Secretary-General's report on practical ways to provide the effective support for the African Union.
只有少数的债权人愿意承认这样的做法。美利坚银行和美国运通公司他们要根据具体情况来决定是否接受非全额地偿还欠款。
American Express say they decide on a case-by-case basis whether to accept less than the full balance.
o文件都放在 /tmp 中;具体来说,SCons 会在 /tmp/username中创建一个目录树,并将输出文件放到这个目录中,从而避免在非绝对必要的情况下修改构建树。
The .o files are placed in /tmp; specifically, SCons builds a directory tree in /tmp/username in which it stores output files so as to avoid altering the build tree more than absolutely necessary.
在非 IBM环境中始终不触发具体的PropertyBroker操作。
The special Property Broker actions are never triggered in the non-IBM environment.
你们是更多特定具体非物质能量的眼睛。
具体来说,我认为重要的是要保持一个国际化核心点,保持运动商业元素和非商业元素间的平衡。
Specifically, I think that trying to keep an international focus and a balance between business and the non-business elements of the movement is essential.
根据电厂二次系统的特点,生产控制大区被分为控制区(安全I区)和非控制区(安全II区),各分区包含不同的具体业务。
According to the characteristics of the two system of the power plant, the production control area is divided into the control area (safe I area) and the non control area (safe II area).
第三部分具体分析了影响高中生阅读效率的两种障碍,即语言障碍和非语言障碍。
Part three analyses the two kinds of obstacles, which affect the reading efficiency in high schools, namely, language factors and non-language factors.
应用任何新区域的具体锁定钢板系统都要有较以前传统钢板接骨术和其他手术以及非手术治疗的选择。
All the new region specific locking implant systems have to prove their superiority over their predecessors and other operative and non-operative treatment options.
你处于最前沿,更具体地集中注意力,你有一双非物质的眼睛。
You are the leading edge, more specifically focused, eyes of that which is Nonphysical.
单调性效应和非单调性效应既是归纳推理理论模型的具体阐释,也是其理论基础和源泉。
Monotonic effect and non-monotonic effect are both the explanations and theoretical sources of the models of inductive reasoning.
在非传染性疾病和伤害以及全民健康覆盖方面制定了可喜的新的具体目标。
New and most welcome targets are set for NCDs and injuries, and for universal health coverage.
具体表现在两个方面,潜在的是科学理性的人性化与非人性化,显在的是“共在”中的非本真与个体的本真。
The concrete manifestation in two aspects, latent is the scientific rational user friendly with the non-user friendly, reveals in is "altogether in" non-candid and individual candidness.
通过进行具体分析,提出与传统背包体制完全不同的构造思路,使用非超递增序列构造背包体制。
Though those concrete analysis, it is proposed a new method to construct knapsack scheme, which is use non-super-increasing sequence in this paper.
本文主要论述了跨文化交际中的非语言交际的差异特点,并列举一些具体的事例供广大的外语学习者在跨文化交际中加以研究和借鉴。
This paper introduces the nonverbal communication's Differences in cross culture communication for foreign language learners to use and research with specific examples.
英语的发音强调某一个具体的重音,而其他的非重音则可带过。
English pronunciation focuses on specific stressed words while quickly gliding over the other, non-stressed, words.
同时还举例说明了指示语的具体用法,特别是指示语的身势用法和象征用法,以及照应用法和非照应用法。
It has also illustrated the concrete usage of the deixis, especially the gestural usage, symbolic usage, anaphoric usage and non-anaphoric usage.
同时还举例说明了指示语的具体用法,特别是指示语的身势用法和象征用法,以及照应用法和非照应用法。
It has also illustrated the concrete usage of the deixis, especially the gestural usage, symbolic usage, anaphoric usage and non-anaphoric usage.
应用推荐