• Importing existing JUnit test cases.

    导入已有的JUnit测试用例。

    youdao

  • Generating JUnit test cases for your application.

    为应用程序生成JUnit测试用例。

    youdao

  • Creating the JUnit test cases for the application.

    为这个应用软件创建JUnit测试用例。

    youdao

  • Select "JUnit test into component test project" as the import source.

    选择“JUnit testintocomponent testproject ”作为导入源。

    youdao

  • Define the location of the CruiseControl logs and log the JUnit test results.

    定义CruiseControl日志的位置并记录JUnit测试结果。

    youdao

  • Therefore, you can reuse the underlying JUnit test cases for your EJB unit tests.

    因此,您可以为您的EJB单元测试重新使用基本的JUnit测试用例。

    youdao

  • To test the above data maps, you will usually write a couple of JUnit test cases.

    要测试上述数据映射,您通常要编写两个JUnit测试用例。

    youdao

  • If you use JUnit, the all-important question is, Do I have to stop writing JUnit test cases?

    如果您使用的是JUnit,则最重要问题是:必须停止编写JUnit测试用例吗?

    youdao

  • The first section of the test case is shown below. This is a simple JUnit test written in groovy.

    下面将介绍测试用例的第一部分。

    youdao

  • The first step is to create a JUnit test and appropriately configure JDepend, as shown in Listing 2.

    第一步是创建一个JUnit测试并且对JDepend做相应配置,如清单2所示。

    youdao

  • Download JUnitPerf: a collection of JUnit test decorators used to measure performance and scalability.

    下载JUnitPerf:一系列用于测量性能和可伸缩性的JUnit测试装饰器。

    youdao

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

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

    youdao

  • This step is similar to running pre-deployment unit tests, except for the nature of the JUnit test cases to run.

    此步骤与运行部署前单元测试类似,不过 JUnit测试用例的本质不同。

    youdao

  • As far as the build automation procedure is concerned, this step is just an invocation of a set of JUnit test cases.

    就构建自动化过程而言,此步骤只是调用一组JUnit测试用例。

    youdao

  • The JUnit view context menu provides a new work item action to create a new work item based on the selected JUnit test.

    JUnit视图上下文菜单提供了NewWorkItem操作,以基于所选的JUnit测试创建新工作物件。

    youdao

  • Listing 2 gives a simple JUnit test case for this class, and Figure 1 shows the results when I run this test in eclipse.

    清单2给出了针对这个类的一个简单的JUnit测试用例,图1展示了我在Eclipse中运行这个测试时的结果。

    youdao

  • After this addition, my JUnit test results are very different, as shown in Figure 2 — I now have four JUnit test failures!

    添加了这个方法后,JUnit测试的结果就截然不同了,如图2所示——现在发现了4处JUnit测试失败!

    youdao

  • In the example in this article, both the portlet application and the JUnit test cases project reside in the same workspace.

    在本文的示例中,portlet应用程序和JUnit测试用例项目都位于同一工作空间。

    youdao

  • In addition to the log file entries that CruiseControl creates, you also want to log the test results from the JUnit test cases.

    除了CruiseControl创建的日志文件条目以外,您还可能希望记录JUnit测试用例产生的测试结果。

    youdao

  • For example, there's a JUnit ruleset that finds common problems (such as using assert(x==null) vs assertNull(x)) in JUnit test suites.

    例如,JUnit规则集用来在JUnit测试套件中寻找常见的问题(如使用了assert(x==null)而不是assertNull(x))等。

    youdao

  • Listing 4 is an updated JUnit test case that adds a handful of additional test cases in an attempt to fully exercise hierarchybuilder.

    清单4是一个更新过的JUnit测试案例,增加了一些附加测试案例,以试图完全执行hierarchybuilder。

    youdao

  • The end result is an implementation of the business logic required and a JUnit test case that can verify the behavior of the implementation.

    最终的结果是实现了必要的业务逻辑和JUnit测试用例,可验证实现的行为。

    youdao

  • After you create the sample application, you will create an application client project that contains the JUnit test cases for the sample application.

    当您创建一个应用软件样例后,您还将创建一个包含应用软件样本JUnit测试用例的应用软件客户端项目。

    youdao

  • You should see the JUnit test succeed, plus some information displayed in the console showing the data comparisons performed by the test (Figure 33).

    您应看到JUnit测试成功,而且控制台中还显示一些其他信息,这些信息显示了测试执行的数据比较(图33)。

    youdao

  • TDD is a style of coding where the desired behavior or specification is written first in the form of an executable example (typically as a JUnit test case).

    TDD是一种编码风格,它先以可执行示例(通常是JUnit测试用例)的形式编写所需的行为或规范。

    youdao

  • The same JUnit test harness from Part 2 was used to generate the tables in this article; the process illustrates the key aspects of using an ACLPerspective.

    第2部分中的同一JUnit测试工具用于生成本文中的表;此流程显示了使用ACLPerspective的主要方面。

    youdao

  • Note that in both cases above the system can optionally be asked to auto-generate a set of JUnit test instances by selecting Generate JUnit test cases checkbox.

    注意,无论出现上述哪一种情况,都可以通过选择GenerateJUnit testcases复选框,请求系统自动生成一组 JUnit测试实例。

    youdao

  • Since the need to unit test J2EE components has become apparent, developers have been exploiting the benefits of the JUnit test framework to perform these tests.

    由于对J2EE组件进行单元测试的需求变得越来越明显,开发者们已经开始利用JUnit测试框架的优势来执行这些测试。

    youdao

  • If there are no errors with configurations or JNDI name lookup, the test runner executes selected tests and displays their result in the JUnit test Results window.

    如果配置或者JNDI名称查找都没有错误,testrunner就执行被选的测试并将结果显示在JUnit testResults窗口。

    youdao

  • The bulk of code in the JUnit is in the JUnit Fixture (see Resources), the portion of the JUnit test that sets up the common structures for testing across all the tests.

    JUnit中的大量代码都在JUnitFixture(请参见参考资料)中,即设置跨所有测试的通用测试结构的JUnit测试部分。

    youdao

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

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

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