• Optionally the test class name can be changed.

    这个测试类的名称可以更改。

    youdao

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

    添加如列表6所示的代码到这个测试类中。

    youdao

  • You now have your test class available for execution.

    您现在已经拥有了可用于执行的测试类。

    youdao

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

    测试类的名称也可以修改。

    youdao

  • Here's an example. Consider the test class in Listing 11.

    这里有一个例子。

    youdao

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

    图2进一步描述了测试类的生命周期。

    youdao

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

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

    youdao

  • Therefore we can use a base test class for all Wicket-related unit tests.

    因此,我们可以为所有Wicket相关的单元测试创建一个测试基类。

    youdao

  • Introspects your test class and executes each method starting with "test".

    内省测试类,并执行每个以“test”开头的方法。

    youdao

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

    第一个选择是将此测试类转移到集成目录中。

    youdao

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

    清单4显示了测试类,还显示了测试的主要部分。

    youdao

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

    要执行测试类,请转到J2EE透视图中的ProjectExplorer视图。

    youdao

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

    检查测试窗格,将看到项目和测试类值已填充。

    youdao

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

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

    youdao

  • Listing 16: Base test class for Wicket unit tests of Warsaw and Global projects.

    清单16:warsaw和Global项目的Wicket单元测试基类。

    youdao

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

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

    youdao

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

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

    youdao

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

    定义了测试类后,就可以开始开发(并测试)这个应用程序了。

    youdao

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

    ScaTestExecutor构造函数将测试类和测试的名称作为参数。

    youdao

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

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

    youdao

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

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

    youdao

  • With the first way, you pass the test class to the TestSuite constructor by using this command.

    对于第一种方法,您可以通过使用这个命令将测试用例传递到TestSuite构造器。

    youdao

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

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

    youdao

  • Let's examine the test class HumanTaskExampleTest and the data files in the HumanTaskExample-Data directory.

    让我们检查一下测试类HumanTaskExampleTest和HumanTaskExample - Data目录中的数据文件。

    youdao

  • JsfTestCase: This is the base test class for unit tests for Servlet and JSF components in a web application.

    AbstractJsfTestCase:这是对web应用的Servlet和JSF组件进行单元测试的基础测试类。

    youdao

  • We will first create a JUnit test class, add a single test to the class, and then, finally, execute the test.

    我们首先创建JUnit测试类,将单个测试添加到该类,最后执行该测试。

    youdao

  • So make sure you have factory-creation code in your test class, and you're ready to work with the XPath class.

    因此测试类中一定要包含工厂创建代码,以便能够使用XPath 类。

    youdao

  • In Listing 3 I've created the class shell that will serve as my test class as I write the dictionary application.

    在清单3中,我创建了类shell,它作为在编写字典应用程序时的测试类。

    youdao

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

    最后的两行负责在这个测试类内部运行测试,方法是直接运行该模块即可。

    youdao

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

    最后的两行负责在这个测试类内部运行测试,方法是直接运行该模块即可。

    youdao

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

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

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