• Rerunning the test fails again, but this time because of the exception being thrown.

    重新运行这些测试仍然失败但是是因为抛出异常

    youdao

  • One of the cornerstones of XP is that each project should have a comprehensive set of automated tests that test everything that could possibly go wrong (with the possible exception of ACTS of nature).

    XP基本要求之一每个项目应该有一套综合的自动测试测试可能出错(带有自然反应的可能异常)的任何东西。

    youdao

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

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

    youdao

  • With the exception of scientific computing and the occasional timing test or benchmark, it just doesn't come up.

    除了科学计算偶尔计时测试基准测试程序,其它情况下几乎用不着

    youdao

  • This means that you will pass the test only if that particular type of exception is raised in the designated line.

    意味着只有指定抛出特定类型异常的时候,才会通过测试

    youdao

  • An unhandled exception on any thread will crash the entire test run, and as mentioned before, integration tests require multi-threading.

    任何线程处理异常都会破坏整个测试运行前面提到的集成测试需要使用多线程。

    youdao

  • If no exception is thrown, the test passes.

    抛出任何异常测试即通过

    youdao

  • Throwing an exception not only unwinds the test but also signals an error.

    抛出异常不仅展开测试将报告错误

    youdao

  • 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例外。

    youdao

  • This is important to know if you are expecting your test to throw an exception.

    预料到测试会抛出异常时,一点重要。

    youdao

  • The old test tried printing the object without the setup, caught the exception if it occurred, then printed with the setup if needed (and gave a message about what happened).

    测试试图借助设置打印对象如果发生异常则捕获之,然后如果需要的话借助设置再去打印(给出一个关于所发生事情的消息)。

    youdao

  • Figure 3: Exception path for the Systems Integration test.

    3系统集成测试例外路径

    youdao

  • For example, they can help you test your custom Exception class, verify that your datatype's Equals & GetHashCode are consistent, and check IList invariants.

    例如可以测试定义的异常验证自定义类型Equals和GetHashCode方法是否一致以及检查IList的不变性。

    youdao

  • All seems well until I try running the test, whereupon I get the exception in Listing 2.

    似乎一切正常,但运行测试出现了如清单2所示异常

    youdao

  • The exception is thrown by the explicit cast because the test case is trying to convert something of type String to an Integer.

    这个异常显式类型转换抛出因为测试用例试图类型String东西转换成Integer

    youdao

  • A test then throws whatever exception the particular TestContext defines.

    然后测试抛出TestContext定义所有异常

    youdao

  • While the TOEFL can be taken online or with a pencil and paper, the IELTS exam can only be completed on paper, with the exception of a small number of computer-based test centers.

    托福可以考,雅思只能笔考,只有例外少数几个机中心

    youdao

  • As written, so long as no exception is generated by the code and the ActionForm successfully validates, Struts assumes things worked just fine, and so will the test case.

    正如所写那样只要代码没有生成异常ActionForm成功验证Struts就假定事情工作良好测试用例也是一样。

    youdao

  • If the exception isn't thrown (or a different exception is thrown), the test will fail.

    如果异常没有抛出(或者抛出了一个不同的异常),那么测试就将失败

    youdao

  • In this case, rather than an exception being thrown, the "test" value isn't being found; null is being popped.

    这种情况下不是抛出一个异常,而是没有发现test实际弹出null

    youdao

  • At least after I installed that, I got past an import exception in Twisted's test_ssl.py (but only so far as what appears to be an error in the test script).

    将其安装完之后看到Twistedtest_ssl . py定义一个导入异常(不过看起来测试脚本中的错误)。

    youdao

  • Here, this implementation is trivial, since any user id and password will be accepted (with the single exception of the password "invalid", provided for test purposes).

    在此这个实现不重要因为任何用户标识密码接受(仅有的例外是“invalid”密码,测试目的提供的)。

    youdao

  • The limitation with the log file is that at the end of test suite you are not able to determine which exception belongs to which test case.

    日志文件缺陷在于,测试套件结尾无法决定什么例外与什么测试用例相对应。

    youdao

  • We'll add some simple logic to make it easier to test the exception behavior.

    我们将会添加一些简单逻辑简化异常测试

    youdao

  • Of course, there are deviations to this path that can be caused, for example, by the test finding a defect and executing an exception path.

    当然对于途径存在例如寻找缺陷执行异常路径测试引起偏差

    youdao

  • As discussed earlier in the testing of referenced attachments, check the port number of your runtime for each test case if you receive an exception stating that the endpoint URL is incorrect.

    根据之前讨论引用附件测试如果收到表示终端url不正确的异常检查每个测试用例运行时口号。

    youdao

  • Contrary to a lot of other testing frameworks, Google's test framework has built-in assertions that are deployable in software where exception handling is disabled (typically for performance reasons).

    其他许多测试框架相反可以把Google测试框架内置断言部署禁用异常处理(通常由于性能原因)的软件中。

    youdao

  • By way of exception the test of the control-unit, the volume regulator can be adjusted.

    例外是控制元件测试。在此过程中仍可以操作音量调节器

    youdao

  • Everyone passed the math test, with the exception of Tom.

    除了汤姆之外,所有人都通过了数学考试

    youdao

  • Everyone passed the math test, with the exception of Tom.

    除了汤姆之外,所有人都通过了数学考试

    youdao

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

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

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