• The test class contains two tests: one to authenticate a valid user and another to authenticate an invalid user.

    这个测试包含两个测试个是鉴定无效用户另一个是鉴定个有效的用户。

    youdao

  • Add the code shown in Listing 6 to the test class.

    添加如列表6代码这个测试中。

    youdao

  • Paste this code into your test class and save it.

    代码测试保存

    youdao

  • To understand how to use this, we need a test class.

    为了弄清除如何使用我们需要写一个测试

    youdao

  • You now have your test class available for execution.

    现在已经拥有了用于执行测试

    youdao

  • Now that I have my test class defined I can start developing (and testing) the application.

    定义测试后,可以开始开发测试这个应用程序了。

    youdao

  • The first option is to move this test class into the integration directory.

    第一选择测试转移集成目录中。

    youdao

  • Once you have your test class, the real action happens in your test methods.

    一旦创建测试之后,测试方法实际动作

    youdao

  • Each time you save the source file, you invoke a parsing of the test class.

    每次保存这些文件时,便调用测试解析

    youdao

  • Listing 3 shows the dictionary application's beginning test class.

    清单3显示字典应用程序开始测试类。

    youdao

  • Optionally the test class name can be changed.

    这个测试名称可以更改

    youdao

  • The execution model is a bit strange: The test class is reinstantiated every time a test method is executed.

    执行模型有点奇怪:每次执行测试方法的时候,都要重新实例化测试

    youdao

  • Finally, the two lines at the bottom allow you to run the tests within this test class by simply running this module.

    最后行负责这个测试内部运行测试方法是直接运行模块即可。

    youdao

  • The lifecycle of a test class is further illustrated in Figure 2.

    2进一步描述测试生命周期

    youdao

  • Listing 4 shows the test class, again showing the main sections of the test.

    清单4显示测试显示测试主要部分

    youdao

  • Observe in the Test pane that the project and test class values are filled in.

    检查测试窗格看到项目测试填充。

    youdao

  • Optionally the name of the test class can be changed.

    测试名称可以修改

    youdao

  • Running this test class produces the expected result

    运行这个测试产生预期结果

    youdao

  • We now we have our test class available for execution in two contexts.

    现在我们可以使测试以下两个上下文中执行测试。

    youdao

  • When nose looks inside of a test class, it runs methods matching that same regular expression.

    nose 检查测试内部时,运行与同一正则表达式匹配方法

    youdao

  • Listing 6 a test class for a special Facebook user.

    清单6一个特殊Facebook用户测试

    youdao

  • Listing 12 a test class for a polymorphic Facebook user record.

    清单12多态Facebook用户记录测试

    youdao

  • The above listing is a test class which performs basic tests on the feedparser module.

    上述清单实现feedparser模块基本测试功能的测试

    youdao

  • A simple test class for the polymorphic special Facebook user is presented below.

    下面给出一个多态Facebook特殊用户简单测试

    youdao

  • To execute the test class, go to the J2EE perspective, Project Explorer view.

    执行测试请转J2EE透视图中的ProjectExplorer视图

    youdao

  • For instance, what will happen if I run the CreateWidgetUATest test class twice in a row?

    比如如果运行两次CreateWidgetUATest测试怎样

    youdao

  • Once you have an abstract aspect, create a mock target inside your test class.

    有了抽象方面后,在测试类中创建一个mock目标

    youdao

  • The test class contains test fixtures, which are initialized in a setUp function.

    测试中包含测试装置(fixture),它们setUp函数初始化

    youdao

  • Your test class now has a protected field called account, and the test method initializes it.

    现在测试一个叫做account受保护字段,测试方法对其进行了初始化

    youdao

  • The ScaTestExecutor constructor takes the test class and the name of the test as parameters.

    ScaTestExecutor构造函数测试测试名称作为参数。

    youdao

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

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

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