• Optionally the test class name can be changed.

    这个测试名称可以更改

    youdao

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

    代码测试保存

    youdao

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

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

    youdao

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

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

    youdao

  • Running this test class produces the expected result

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

    youdao

  • You now have your test class available for execution.

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

    youdao

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

    测试名称可以修改

    youdao

  • Create a new database unit test inside a new test class.

    新的测试类别建立新的资料库单元测试。

    youdao

  • It is also added as a new test method in the test class.

    会以测试类别中的测试方法形式加入

    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

  • Create a new database unit test inside an existing test class.

    现有测试类别建立新的资料库单元测试。

    youdao

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

    特殊Facebook用户简单测试如下

    youdao

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

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

    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

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

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

    youdao

  • Click through to the failing test class. The results are shown in Figure 2.

    单击失败测试

    youdao

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

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

    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

  • Within each test class, individual unit tests are stored as test methods.

    每个测试中,单个单元测试存储测试方法

    youdao

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

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

    youdao

  • You just write a test class (TC_Person in this example) that subclasses TestCase.

    只是一个测试(示例是tC _ Person),它是TestCase子类

    youdao

  • This project does not contain a database unit test class, which you must add.

    项目中包括数据库单元测试必须自己添加该测试类。

    youdao

  • I can build class stock, and I can test class stock, before I have a class market.

    可以建立stock然后macket类之前测试这个类。

    youdao

  • For each test case. basically you need to extend your test class from TestCase.

    对于每个案例来说,需要TestCase扩展测试

    youdao

  • 5 Even after I import the junit.framework. Assert class, my test class will not compile.

    5甚至将junit . framework .assert导入之后,测试还是不能编译。

    youdao

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

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

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