此准则不要求验证代码在公共可见成员中。
This guideline does not require that the validation code be in the publicly visible member.
如果您是在开发生命周期的后期工作并维护代码,为了验证您的脚本是否还能工作并获得最大可能的成功识别,您可以将警告级别设置为高。
If you are working late in the development cycle and maintaining the code, verify that your scripts work and have the best possible recognition by setting the warning level to High.
代码传输只会发生一次,但每次在另外一端遇到验证问题时都要传输数据。
Code transmission happens only once, whereas data must be transmitted every time you encounter a validation problem at the other end.
您可以在本文提供的代码下载中看到该验证操作!
You can see that verification exercise in the code download that comes with this article!
根据所需验证的数量和性质,验证代码可能复杂冗长,而且在越来越多人参与其中后,维护将成为沉重负担。
Depending upon the number and nature of the validations required, the validation code can be complex and lengthy and its maintenance can become a significant burden as more partners are added.
在成功地完成验证过程之后,应用程序代码被传递到客户机。
Once the verification process has been successfully completed, the application code is delivered to the client.
本文将使用示例代码来演示鼠标力学,从而增强在验证和连续使用应用程序时的安全性。
This article USES example code to demonstrate mouse dynamics for enhancing the security of applications in authentication and continuous usage contexts.
在精化阶段,我们撰写了足够的代码来验证架构。
During the Elaboration phase we write just enough code to prove the architecture.
虽然不理想,但是紧密耦合的验证代码相当普遍,特别是在比较老的应用程序里。
Although not ideal, tightly coupled validation code is quite common, particularly in older applications.
我们可以在register方法中添加验证代码,以确定名字字段是否为null。
We could add validation code to the register method to determine whether the first-name field is blank or null.
保证Web站点的页面只有在验证了用户输入没有恶意代码之后才返回用户输入。
Guarantee that the pages in the Web site return user inputs only after validating them for any malicious code.
错误修复本身也在团队中流动,从修复代码流中的该问题的Susan,到验证包含该修复的构建版本中的修复的Mike。
The bug fix itself also flows within the team, from Susan who fixes the problem in the code stream to Mike who verifies the fix in the build that contains it.
错误修复本身也在团队中流动,从修复代码流中的该问题的zoe,到验证包含该修复的构建版本中的修复的Mike。
The bug fix itself also flows within the team, from zoe who fixes the problem in the code stream to Mike who verifies the fix in the build that contains it.
第二个闭包(在几个进行代码验证的assert 之后出现)对指定的String应用正则表达式。
The second closure (which comes in after a few asserts for code validation) applies regular expressions to a given String.
那我应该向何处检入我认为已经完成、但是在检入主干前需要进行验证的代码呢?
So where do I check in code that I believe is done, but need to verify before checking in to the trunk?
你可以在清单5中验证该代码。
如果已经执行了验证,那么在触发器代码体中使用when子句跳过验证过程。
If so, it skips the validation process by using the WHEN clause in the trigger body.
验证测试是否含有在您的代码中定制化输入所需的引用。
Verify that the test contains the references that are required for customized inputs to your code.
例如,我们在那里添加了在执行这个函数之前验证用户已登录的代码。
For example, we can add code there to verify that the user is logged in before executing this function.
在大多数应用中,开发者都需要手工编写业务逻辑与验证规则代码,而这些代码都不太容易自动生成,那代码生成工具是如何解决这个问题的呢?
In most applications, the developers need to hand-code business logic and validation rules that are not easy to auto-generate. How do the code generation tools address this requirement?
如果数据库具有验证代码,这些代码要求在保存文档之前,各个字段都必须填写完整,并且如果还未填写完整就试图保存文档会产生各种错误,该怎么办?
What if your database has some validation code that requires various fields to be filled before the document can be saved, and will produce all sorts of errors if you try to save before that?
在项目生命周期中,质量确保工具是用来验证代码开发的,变更及资产管理工具是用来跟踪应用程序修改的。
Quality assurance tools and change and asset management tools are also needed to verify code development and track application modifications, respectively, throughout the project lifecycle.
不幸的是,抽象是有漏洞的:例如,在我的ZIP代码验证器中,本想使用正则表达式执行检测。
Unfortunately, the abstraction is leaky: in my ZIP code validator, for example, I would have liked to use regular expressions to perform the check.
例如,下面这些操作将非常简单:执行验证,在GUI组件中找到一些错误,比较之前运行的代码以发现何时引入了新错误。
For example, it would be a simple matter to perform a validation, find a number of errors in a GUI component, and compare against a previous run to find when the new errors were introduced.
除了编译代码,这种构建过程还验证新的代码,用以观察代码是否符合预定义的编码习惯,并且在必要处执行单元测试。
As well as compiling code, such a build process also validates new code to see if it conforms to pre-defined coding conventions and executes unit tests where necessary.
第三,自动生成的视图可以验证正确情况,在代码中验证它们是很麻烦的。
Third, the automatically generated view can verify positive cases that would be tedious to verify in code.
下面的代码显示了在将对象放入到会话属性时进行的验证工作。
The following code shows the validation when putting an object into session attributes.
我们曾经提到的策略“尽早并经常地测试代码”是一项为开发者提出的最佳实践,无论是在特性验证还是产品的验证(系统级)测试中。
A strategy we used to pursue the "test code early and often" best practice was to involve developers in both feature verification and product verification (system-level) testing.
与验证有关的代码通常散布在多个源文件中,文档也不甚详尽。
The validation code is scattered across multiple source files and is often under-documented.
在清单11的代码中,when子句检查确定XML文档INFO是否根据EMPLOYEE模式进行了验证。
In code listing 11, the WHEN clause checks to determine whether or not the XML document INFO is not validated against the EMPLOYEE schema.
应用推荐