第一种方法是对代码进行一套完全彻底的单元测试:在重构之前和之后都必须通过这样的测试。
One way is to have a thorough set of unit tests for the code: the code should pass the tests both before and after refactoring.
我们有一些必须在每次集成之前和之后运行的单元测试。
We have unit tests that must run before and after each integration.
团队应该有一些必须在每次集成之前和之后运行的程序员测试。
The team should have programmer tests that must run before and after each integration.
在您购买机票之前和之后都有有些动作。
There are actions you take before and after purchasing the ticket.
可以下载改进之前和之后的示例应用程序源代码。
You can download the before and after source code for an example application.
我们试着去捕捉的是在拍摄这张图片之前和之后的那些瞬间。
What we strive to capture is the moments before and after a photograph is taken.
就业数据在就业市场跌至绝对低点之前和之后的月份表现起伏不定,这种状况并不罕见。
Uneven performance for jobs in the months both before and after the absolute low point in the labor market is not uncommon.
可以在备份作业之前和之后执行额外命令。
他们享受委员会工作完成之前和之后的时光。
They relish the time before and after the committee work is done.
没有必要在每个测试之前和之后都这样做。
There's no need to do this before and after each and every test.
测试之前和之后的数据状况的屏幕截图。
Screen captures of what the data should look like before and after testing.
最后一个研究案例是海地发生去年毁灭性地震之前和之后的的安全状况。
The last case study looks at the security situation in Haiti both before and after last year's devastating earthquake.
普雷斯科特·布什,即乔治·h·w·布什的父亲、乔治·w·布什的爷爷,在担任美国参议员之前和之后都曾是这家银行的合伙人。
Prescott Bush, father of George H. W. Bush and grandfather of George W. Bush, served there as a partner both before and after his tenure in the U.S. Senate.
开发者进行重构的两个关键时机是:在实现一个功能之前和之后。
Two key opportunities exist for developers to refactor: before and after implementing a feature.
以下是DB2BATCH运行样例摘要,说明启动行压缩之前和之后的查询执行时间。
Following are DB2BATCH run sample summaries illustrating query execution times before and after row compression has been enabled.
您可以通过比较查询RUNSTATS之前和之后的EXPLAIN输出,来确定运行RUNSTATS对于访问计划的影响。
You can determine the effects of running RUNSTATS on the access plans by comparing the EXPLAIN outputs of the queries before and after RUNSTATS.
下面是升级之前和之后一个LPAR的输出。
Refer to the output below, from one of the LPARs before and after the upgrade.
我将介绍在POWER 6升级之前和之后执行的步骤。
I will outline the steps I performed before and after the POWER6 upgrade.
方法是比较修改之前和之后的度量结果。
You do this by comparing measurements before and after the change is made.
如果扩展了LDAP模式,那么必须维护修改,并在修改之前和之后备份整个目录。
If you have extended LDAP schema, you must maintain the changes and back up the entire directory prior to and after the change.
罗丹着重描绘的是欲之爱,就像荷加斯的那两幅画:《之前》和《之后》。
Rodin's depiction insists on the carnality of love. So do Hogarth's paired paintings Before and After.
上述示例创建了一些日志文件,这些日志文件记录了更改之前和之后的文件权限。
These examples create log files that record the file permissions before and after the change.
类在方法调用之前和之后必须保持不变(一旦对象已经构建)。
A class invariant must hold before and after all method calls (once the object is constructed).
贝卢斯科尼在批准预算案之前和之后都保持了沉默——这可不是他的个人风格。
Mr Berlusconi was uncharacteristically silent both before and after the approval of the budget.
转化之前和之后声明的比较。
在模型更改之前和之后添加实现。
图19显示了选择具体类型(ExtensionBO)之前和之后的抽象业务对象(AbstractBO)。
Figure 19 shows an abstract business object (AbstractBO) before and after you select a concrete type (ExtensionBO).
单击options选项卡,指定测试时间间隔,包含测试之前和之后的一段时间。
Click the Options TAB, and specify the interval of your test, including some time before and after the test.
我们使用一个静态类,其中包含在XmlObject更改之前和之后运行的方法,见清单3。
You use a static class that has methods that run before and after the XmlObject changes, as shown in Listing 3.
我们使用一个静态类,其中包含在XmlObject更改之前和之后运行的方法,见清单3。
You use a static class that has methods that run before and after the XmlObject changes, as shown in Listing 3.
应用推荐