在本文后续各节中,我将为您展示一些简单的单元测试,这些单元测试能确保您不会不经意地更改可串行化类的串行格式。
In the sections that follow, I show you a few simple unit tests that ensure that you do not inadvertently change the serialization format of your serializable classes.
作为一个工作单元,添加或合并因业务模型更改而产生的实现项目。
Addition or merging, as a unit of work, of implementation artifacts resulting from business model changes.
一旦禁用,以下自定义属性将在单元范围内启用,且这一更改将被动态采用。
Once enabled, the following custom property will be enabled at the cell scope, and the change will be picked up dynamically.
产生这些错误的原因很多,包括管理员对混合单元的配置更改、对已部署应用程序的更新以及其他对稳定状态貌似善意的修改。
These can come from configuration changes made by an administrator in a mixed cell, updates to the deployed applications, and other seemingly benign modifications to a stable state.
这能确保一个工作单元内任何符合资格的行都不会被其他应用程序进程更改,直至该工作单元完成。
It ensures that any qualifying row read during a unit of work is not changed by other application processes until the unit of work completes.
如果开发人员具有自动的代码级单元测试工具,开发人员就能够很容易地运行这些工具以确保所做的更改不会破坏已经存在的功能。
If the developer has access to automated code level unit tests, the developer can easily run them to make sure the changes don't break existing function.
您可以对单元作出更改,以指示它的不同,例如对单元应用形式或者外观,但是这些更改都是很肤浅的;单元类型并没有得到更改。
You could make other changes to the unit to indicate its differences, such as applying a custom style or appearance to the unit, but these changes are all superficial; the unit type does not change.
如果只要更改代码即运行单元测试,您立即就能发现您所做的更改是否对系统造成了破坏。
If you run unit tests whenever you make changes to code, you'll find out immediately if your changes broke something.
开发人员的测试可以降低代码中存在缺陷的风险,因此现在很多开发团队在新开发和更改代码的同时需要编写单元测试。
Developer testing decreases the risk of defects in code, so many development teams now require that unit tests be written alongside newly developed or modified code.
类似地,如果在对单元a应用更改并激活后出现问题,只需要关闭单元a,所有流量将会流入单元b。
Similarly, if any problems are discovered after cell a is activated after the changes are applied, it can simply be shut down and all traffic will flow to cell b.
在某些情况下,您可能会向您的WebSphere单元手动应用配置更改,然后希望捕获和重用生成的配置。
In some cases, you may manually apply configuration changes to your WebSphere cell and then want to capture and reuse the resulting configuration.
这是因为在更改目标表的同一工作单元期间,QApply也会写入控制表中。
This is because Q Apply writes to these tables during the same unit of work as the changes to target tables.
最好的方法可能是输入units,将默认单元更改为扇区。
The best approach may be to type unit s to change the default unit to sectors.
也许最突出的更改是在单个WebSphereApplicationServer单元中创建多个安全域的功能。
Perhaps the most prominent change is the capability to create multiple security domains within a single WebSphere Application Server cell.
Databasetype:SQLServer(提示:可以双击这个单元格更改值)。
Database type: SQL Server (TIP: you can simply double-click this cell to change it).
由于配置已发生更改,因此计算单元中的所有联合节点都需要下载新的配置。
Since the configuration has been changed, all federated nodes in the cell need to download the new configuration.
最后,系统测试展示了定时问题,尤其是在协调对多个单元的更改的开始时间时,以便这些单元看起来与查看器是同步的。
Finally, system testing showed timing problems, especially in coordinating the start times of changes to multiple cells such that they appeared simultaneous to the viewer.
最近对JNDI命名空间的更改之一是能够在环境(服务器、集群、节点或计算单元)的各个级别上界定资源定义的范围。
One of the recent changes to the JNDI namespace is the ability to scope the resource definitions at various levels in the environment (server, cluster, node, or cell).
开发人员在Application Developer工作区中开发项目,其中,他们可以创建代码、更改代码和进行单元测试。
Developers work on projects in an Application Developer workspace, where they create code, make changes, and unit test.
特别是,它寻找更改过的TranslationUnit和代表了该单元源代码语言的ILanguage。
In particular, it finds the altered TranslationUnit and the ILanguage that represents the language of the unit's source code.
更改选定段落、表格单元格和图片的底纹图案。
Changes shading pattern of the selected paragraphs, table cells, and pictures.
路由和远程访问管理单元已打开。要查看此向导的更改,完成向导后请关闭或刷新该单元。
The Routing and Remote Access snap-in is open. To view changes made by the wizard, close or refresh the snap-in after completing the wizard.
选定需要更改文字方向的单元格。
Select the cells where you want to change the text orientation.
您正试图更改的某些单元格是受密码保护的,但没有一个密码可以允许访问所有单元格。
Some of the cells you are trying to change are password protected, but no one password will allow access to all of the cells.
可以创建单元测试来验证代码,并检查对代码的更改是否未破坏现有功能。
You can create unit tests to verify your code and check that changes to your code do not break existing functionality.
聚合是很大程度由实践者驱动设计(ddd)的域的一个术语和定义为“的关联的对象被视为数据更改的目的单元的群集。”
An aggregate is a term used heavily by practitioners of domain driven design (DDD) and is defined as "a cluster of associated objects that are treated as a unit for the purpose of data changes."
在解决方案资源管理器中的测试项目中,打开包含相应单元测试的文件,然后找到要更改的单元测试方法。
In your test project in Solution Explorer, open the file that contains the unit test, and then locate the unit test method that you want to change.
使用“字体颜色”按钮,可以更改选定单元格或文本的字体颜色。
To change the color of the font in the selected text or cell, use the Font Color button.
使用“字体颜色”按钮,可以更改选定单元格或文本的字体颜色。
To change the color of the font in the selected text or cell, use the Font Color button.
应用推荐