As usual, I write a few test cases in Listing 12 to verify things work as expected.
与通常一样,我在清单12中编写了几个测试用例以验证它按预想的那样工作。
Write a couple of tests, as in Listing 16, to verify that the new overloaded add method behaves as expected.
编写两个测试,如清单16所示,检验新的重载后的add方法是否如期望的那样运行。
You also saw how FIT and Eclipse come together in a perfect way by allowing developers to write fixtures and run FIT tables to verify their software.
您还了解到如何将FIT和Eclipse完美地结合在一起,不但让开发人员可以编写fixture,而且可以运行fit表来验证他们的软件。
Naturally, I also write a quick test case to verify my check actually averts NullPointerExceptions, as shown in Listing 4.
很自然,我也会编写一个快速测试用例来验证我的检验是否真能避免NullPointerException,如清单4所示。
Accordingly, I can write a test case to verify XMLUnit's behavior, as shown in Listing 6.
相应地,我可以编写测试用例来验证XMLUnit的行为,如清单6所示。
The next step is to write an HTML page (shown in Listing 2) that will read the data from the service and verify that the Ajax connection between the browser and the server works.
下一步就是编写一个HTML页面(如 清单2 所示)从服务器读取数据并检验浏览器和服务器之间使用的Ajax连接。
From a functional standpoint, you'd probably want to write a test to fill in the form value, click the Submit button, and then verify the presence of the definition under the form.
从功能性观点考虑,您或许希望编写一个测试:填入表单值,单击Submit按钮,然后验证表单是否显示定义。
You want the test to verify that the elements List now holds the Object added by push. So, you write a test like this
您需要进行这一测试来验证elementsList现在是否含有 push添加的Object。
If you write real documentation, write tests that verify every statement you make in it.
如果你写了实际的文档,写写测试来验证一下其中的陈述。
So when I set out to write this article, I thought it would be good to include a tool people could use to verify WSDL documents against the best-practices rules.
所以当我准备撰写本篇文章时,我原本认为加入一个人们可用来验证WSDL文档是否符合最佳实践规则的工具是很不错的。
You will always need to write some code to verify constraints in a traditional programming language.
只能用传统编程语言编写代码来检查这些约束。
An advanced system administrator might extend the SOAP example with Tcl or any other language to communicate with Intranet Web services and write plug-ins to verify correct behavior of the services.
高级系统管理员可以使用Tcl或者任何其他语言来扩展SOAP示例,以便与内部网web服务进行通信,并编写插件以验证该服务行为的正确性。
Or you could write a set of detectors that verify that your J2EE code is following the appropriate restrictions, such as no Thread or Socket creation.
也许可以编写一组检测器,它们验证j 2ee代码遵守适当的限制,如不创建Thread或者Socket。
Then, you would write your test case to verify that the aspect correctly interacts with the target, as shown in Listing 4
然后,编写测试用例以验证方面正确地与目标交互,如清单4 所示
Most of the web-tier testing frameworks follow black-box testing approach where developers write test classes using the web components to verify the rendered HTML output is what is expected.
多数web层的测试框架遵循黑盒测试方式,开发者用web组件编写测试类来验证渲染的HTML输出是否符合预期。
These companies should examine and verify import orders and write the marks, codes and symbols in strict accordance with the relevant stipulations.
工外贸、工贸公司应当严格按照有关规定审核进口订货单和编写唛头代号标记。
You should verify that a log in the array exists before you read or write to it.
对记录档进行读取或写入之前,应该确认它存在于阵列中。
Develop monthly and annual communicate strategic plan, write and verify press releases and project report;
制定年、月度传播策略方案,审核、撰写相关新闻稿件和深度稿,项目总结报告等;
Once you verify the bus speed, you can confidently write the timer, serial-I/O, and other clock-dependent routines.
一旦检验总线速度,可以信赖的写定时器、串行I/O和其他时钟有关的程序。
Once you write the bus-clock-initialization routine, you may want to verify that the bus is running at the speed you intend before moving on to the rest of the project.
一旦写入总线时钟初始化程序,在继续工程其它部分之前,也许想检验总线是否以期望的速度运行。
Send an article to hope can examine and verify is passed, the article has a link, the hope can pull bit of spider , write a thing for the first time, those who write is farfetched.
发篇文章希望能够审核通过,文章有一个链接,希望能拉点蜘蛛,第一次写东西,写的乱七八糟。
Send an article to hope can examine and verify is passed, the article has a link, the hope can pull bit of spider , write a thing for the first time, those who write is farfetched.
发篇文章希望能够审核通过,文章有一个链接,希望能拉点蜘蛛,第一次写东西,写的乱七八糟。
应用推荐