• For example, the literal we use in the test method has wrapped onto two lines because the width of a printed page is narrow.

    例如我们测试方法使用文字封装因为页面宽度比较窄。

    youdao

  • In the test method, using a combination of written and oral test methods, focusing on the ability of test candidates rather than rote knowledge.

    考试方法上,采用笔试口试相结合方法进行考查着重考查考生能力不是知识的死记硬背

    youdao

  • In this example, for clarity, we left some of the validation inside the test method.

    示例中,为了清晰起见我们验证某些部分放在测试方法内部

    youdao

  • Luckily, the method under test in this case only had a CC of 2.

    幸运的是,这里测试中的方法一个值为2的CC

    youdao

  • In this article, we introduce a navigation path-based method to find the target test object.

    本文中,我们介绍了基于路径导航方法找到目标测试对象。

    youdao

  • Here's the method: Test subjects (in this case, epilepsy patients) were outfitted with brain-computer interfaces, which were implanted in the regions of the brain controlling speech.

    实施办法就是测试对象(此例中为癫痫病人)大脑里,在控制语言区域植入一个人机接口

    youdao

  • With the mechanics out of the way, note that I made a few design decisions in my test method.

    有了这些原理之后,要注意测试方法中制订一些设计决策

    youdao

  • For example, in the test environment, the tester or administrator might enable method-level metrics to show response times within the components of an application (or set of applications) under test.

    例如测试环境中测试员管理员可以启用方法级度量显示测试应用程序(或应用程序)组件响应时间

    youdao

  • In the specialization object, override the creation method to return a mock object that accommodates your test.

    特殊化对象中,覆盖创建方法返回测试提供的模仿对象。

    youdao

  • If a method is 10 lines long and 8 lines of the method were exercised in a test run, then the method has a line coverage of 80%.

    如果一个方法10代码,其中8行在测试执行,那么这个方法的覆盖率是80%。

    youdao

  • Whether or not to accurately test the 18th conditional in a long method is a matter of judgment.

    是否真的测试方法中的第18个条件是个判断问题

    youdao

  • Be careful in using precise timings as a gauge for the execution time of a method; the setup and tear down time of a test is included in the overall execution time.

    使用精确计时作为方法执行时间标准时要小心测试建立销毁时间包含整个执行时间中。

    youdao

  • Listing 4 is the method called by the test case in Listing 3.

    清单3测试用例调用方法如清单4所示。

    youdao

  • In particular, be careful about using the equals method to test for numeric equality.

    尤其使用equals方法检测数值之间是否相等时要小心

    youdao

  • This is true for mock objects defined in a common setUp() method or within the actual test method.

    对于公共setUp()方法实际测试方法定义模拟对象来说正确的。

    youdao

  • The fixtures method automatically loads the fixture corresponding to the given model name at the start of each test method in the test case.

    测试用例中的每个测试方法开头fixtures方法自动地装载模型对应fixture

    youdao

  • The Context method is akin to the Arrange in our original Unit Test, but here we are concentrating on it in isolation - ensuring that it is all we are going to do.

    Context方法类似原先测试中的Arrange这里我们单独考虑——确保我们将要做的所有事情。

    youdao

  • In addition, it is desirable to prefix the test method name with "test" so that the test runner will execute all methods automatically.

    此外合适测试方法名称一个“test前缀这样测试运行人员就可以自动地执行所有方法

    youdao

  • Once the expectation is set, the test calls the getTitle() method, which should trigger the aspect and result in the expected call to the mock.

    设置期望后,测试调用getTitle()方法应当触发方面产生预期mock调用

    youdao

  • You must also implement the satisfy() method, which, in all cases, will accept the AST node under test.

    必须执行 satisfy()方法接收测试下面AST节点

    youdao

  • I've included a main method in the TwitterSearchConnector class so you can test the class's functionality in stand-alone mode without needing to run Bonita. Listing 5 shows the main method.

    将main方法包含twittersearchconnector中,因此在无需运行Bonita情况下可以单机模式测试此类功能

    youdao

  • To mock out the Grails validation in a unit test, add the mockForConstraintsTests method, as shown in Listing 6.

    单元测试中模拟Grails验证添加mockforconstraintstests方法如清单6

    youdao

  • If there is no entry in log, the code skips the rest of the method because test case execution is clean and there is no information to capture.

    如果日志没有条目,那么代码就会跳过方法其余部分,因为测试用例执行干脆的,并没有得到什么信息。

    youdao

  • This test case uses two users to simulate concurrent access in the query table claim method.

    这个测试案例使用两个用户模拟查询表申明方法中的并发存取

    youdao

  • Verification of the system stress test is the reason for this final step in the method.

    之所以要执行方法中的最后一步,是为了系统压力测试进行核实

    youdao

  • To accomplish this, you can wrap the three lines of code produced by the recorder into a separate method in your test script.

    完成这项操作,可以记录器生成代码封装测试脚本某个单独方法

    youdao

  • The second method is traceability into test cases, shown in Figure 14.

    第二方法测试用例中的追踪,如图14所示

    youdao

  • If you had selected additional methods from a larger class, you would see each method appear as a node in the test.

    如果大的中选择了其它方法可能在测试看到像是节点方法

    youdao

  • Now you can test it on the server using the same method as in the previous section.

    现在可以使用上一小节中的方法服务器进行测试

    youdao

  • Now you can test it on the server using the same method as in the previous section.

    现在可以使用上一小节中的方法服务器进行测试

    youdao

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

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

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