DoH
英 [dəʊ]
美 [doʊ]
abbr. (英国)卫生部
BNC.18001
牛津词典
abbr.
- (英国)卫生部
(in Britain) Department of Health
双语例句
- If any type of exception is thrown in a unit test, the DOH declares the entire test as failed.
如果在一个单元测试中有任何类型的异常被抛出,DOH就会宣布整个测试失败。 - The DOH uses Rhino, an open-source JavaScript engine written in Java ™ code, for its command-line interface.
DOH为其命令行界面还使用了Rhino,一个用Java™代码编写的开源JavaScript引擎。 - I play sport on my computer Doh!
我玩我的电脑上卫生署的运动! - The DOH also reports the total number of tests run, errors that occurred, and tests that failed.
DOH还会报告测试运行、已发生的错误以及失败测试的总数。 - It would be great if the DOH provided a mechanism that could still run this HTML file and still display the UI.
要是DOH能提供一个既能运行HTML文件又能显示UI的机制就好了。 - This enables the DOH to report failed tests accurately.
这能使DOH准确地报告失败的测试。 - The reason to only have a few asserts per test is that it makes it quicker to isolate the failure in the test from the error the DOH reports.
每个测试只有少数几个断言,其原因是这样做能更快地区分出测试失败和DOH所报告的错误。 - When all test files have been loaded by the DOH the framework automatically executes the tests.
当所有测试文件都由DOH加载后,此框架就会自动执行这些测试。 - Every test framework needs to supply you with a method to check the outcome of a unit test and the DOH is no exception.
每个测试框架都要为开发人员提供检查单元测试结果的方法,DOH也不例外。 - Because the callback runs later, it cannot be easily try/ catch caught by the DOH when there is a failure, like it does for a synchronous test.
因为回调运行得较晚,所以当故障出现时,DOH很难通过try/catch捕捉到,就如同在同步测试中一样。