• "It was the most stupid decision of my whole life," said Jack as he let out a Homer Simpson-style "Doh" to illustrate the folly of his actions.

    “这是我此生做的最错误的决定,”杰克说,同时以霍默·辛普森式的“Doh”来表示自己行为的愚蠢。

    《柯林斯英汉双解大词典》

  • youdao

  • youdao

  • Listing 9. Contents of demo/doh/tests/module.js

    清单9.demo/doh/tests/module.js的内容

    youdao

  • This enables the DOH to report failed tests accurately.

    这能使doh准确地报告失败的测试。

    youdao

  • Lastly, the DOH is not limited to browser environments.

    最后,DOH不只限于浏览器环境。

    youdao

  • Doh! Sugar-rich treats, like doughnuts, can speed up the ageing process

    哎!多糖甜品,如甜甜圈,会加速衰老进程。

    youdao

  • This function lets you point the DOH runner.html UI at a separate HTML file.

    此函数能让DOHrunner.htmlUI 指向另一个 HTML文件。

    youdao

  • Bringing it all together: Combining the test definitions into a single DOH test suite.

    把它们放在一起:将测试定义合并到单个doh测试套件中。

    youdao

  • 'Doh' might have been one of man's first words... Homer Simpson would have been proud.

    “Doh”或许是人类最早的词汇之一辛普森应该为此自豪。

    youdao

  • Testing the behavior of Ajax requests is one of the most valuable features of the DOH.

    测试ajax请求的行为是DOH最有价值的特点之一。

    youdao

  • So, the test, according to the DOH, never reported completion, and therefore, gets timed out.

    所以,根据DOH的报告,这个测试永远不会完成,只会超时。

    youdao

  • This is also not difficult. You write an HTML file that redirects to the runner.html of the DOH.

    其实这也不难,只需编写一个重定向到DOH的runner .html的html文件即可。

    youdao

  • If any type of exception is thrown in a unit test, the DOH declares the entire test as failed.

    如果在一个单元测试中有任何类型的异常被抛出,DOH就会宣布整个测试失败。

    youdao

  • When all test files have been loaded by the DOH the framework automatically executes the tests.

    当所有测试文件都由doh加载后,此框架就会自动执行这些测试。

    youdao

  • The DOH also reports the total number of tests run, errors that occurred, and tests that failed.

    DOH还会报告测试运行、已发生的错误以及失败测试的总数。

    youdao

  • As an analogy, contrast building something using Lego, versus building something using Play-Doh.

    以此类推,对比一下有些建筑使用Lego,而有些建筑则使用Play -Doh。

    youdao

  • The DOH also provides a powerful UI that shows success, failures, and even what errors were thrown.

    DOH还提供了一个强大的UI ,可用来显示成功或失败甚至抛出的错误。

    youdao

  • But several tobacco manufacturers sued the DoH, questioning the validity of the administrative order.

    但是一些烟草制造商起诉卫生部,对行政法令的有效性提出质疑。

    youdao

  • You create an array of functions or test fixtures, register them, and the DOH will execute them when loaded.

    只需创建一个函数数组或测试装置、然后对之进行注册,加载后,DOH就会执行它们。

    youdao

  • While the DOH can be daunting for the novice user, it is a flexible and powerful unit testing framework.

    尽管DOH对一个新手来说有些复杂,但它的确是一个灵活且强大的单元测试框架。

    youdao

  • As previously mentioned, the DOH provides a command-line interface as well as a browser-based interface.

    前面提到过,DOH既提供命令行界面,又提供了基于浏览器的界面。

    youdao

  • 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的机制就好了。

    youdao

  • Writing your own test suite with the DOH can appear daunting at first, but it is actually not very difficult.

    用DOH编写自已的测试套件初看上去很复杂,但实际上它并不难。

    youdao

  • If wrapping was not done, the test would still fail on an error, but all the DOH would report is the test timed out.

    假设没有执行包装,那么测试还将在错误出现时停止,但DOH报告的内容却是测试超时。

    youdao

  • When the unit tests are invoked, the DOH reports any errors that occurred and the specific test that has failed.

    当调用单元测试时,DOH就会报告所有已发生的错误及失败的特定测试。

    youdao

  • So, enter the DOH and its facility for handling widget testing in browsers as well as synchronous function testing.

    因此,需要借助DOH来处理浏览器内的小部件测试及异步函数测试。

    youdao

  • In other words, the only way the DOH knows an async test passed or failed is if an operation is invoked on the Deferred.

    换句话说,doh得知异步测试是通过还是失败的惟一途径就是:操作是否在延迟操作上被调用了。

    youdao

  • In other words, the only way the DOH knows an async test passed or failed is if an operation is invoked on the Deferred.

    换句话说,doh得知异步测试是通过还是失败的惟一途径就是:操作是否在延迟操作上被调用了。

    youdao

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定