• The following test method is used.

    然后使用下面这个测试方法

    youdao

  • Our test method, then, looks like this

    因而我们测试方法类似

    youdao

  • Example of calling a unit test method.

    调用单元测试方法实例

    youdao

  • Each test method has its own unique TDT.

    每个测试方法都有惟一TDT

    youdao

  • Executes the setUp method before each test method.

    执行每个测试方法之前执行setUp方法。

    youdao

  • The test method for this example looks like Listing 4.

    示例测试方法类似于清单4

    youdao

  • Test success is indicated by completion of a test method.

    测试成功通过测试方法完成指示

    youdao

  • Third, the original expectation of the test method has not changed.

    第三测试方法原始期望并未更改

    youdao

  • matrix method will create a test method for every applicable result

    ZenTest通过Setup方法保存案例,matrix方法应用结果创建一个测试方法

    youdao

  • To turn it on, call EasyMock.verify (mock) at the end of your test method.

    要想启用,应该测试方法末尾调用EasyMock . verify (mock)。

    youdao

  • For the first test method, you can use the information directly from the WSDL.

    对于第一测试方法可以直接使用WSDL中的信息

    youdao

  • For each generated test method, a corresponding Complete method is also generated.

    对于生成测试方法,都会有一个对应Complete方法。

    youdao

  • For example, there is a test method like the following with some simple assertions.

    举例来说,下面一个测试方法其中有一些简单断言

    youdao

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

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

    youdao

  • If the test method happens to take longer than 1000 milliseconds to execute, it fails.

    如果执行测试方法时间多于1000毫秒测试失败。

    youdao

  • You should see one dot for each test method, and OK (1 test) at the end of the test run.

    每个测试方法应该一个并且运行完成会显示OK (1test)。

    youdao

  • That's why the main test method in Listing 1 USES a while loop instead of a new for loop.

    就是为什么清单1中的main测试方法使用while循环而不是一个新的for循环。

    youdao

  • AfterTestMethod methods are executed after the execution of every test method in a class.

    afterTestMethod方法中的每个测试方法执行之后执行

    youdao

  • BeforeTestMethod methods are executed before the execution of any test method in a class.

    beforeTestMethod方法中的任何测试方法执行之前执行

    youdao

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

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

    youdao

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

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

    youdao

  • Within the test method itself, testRunServiceAndReturnFalse(), you can see a few more changes.

    测试方法本身testRunServiceAndReturnFalse() 之内,可以看到更多更改

    youdao

  • The JUnit 3.8 naming convention states that all test method names should begin with word test.

    JUnit 3.8命名约定规定所有测试方法名称单词 test开头

    youdao

  • The JUnit naming convention states that all test method names should begin with the word "test."

    JUnit命名约定规定所有测试方法名称以单词“test开头

    youdao

  • So, instead of letting the tool create the initial test method, I will write each method as I go.

    因此自己书写每一个用到方法,不工具生成原始测试方法。

    youdao

  • Finally, add some code in your main test method to print out and execute the generated SQL query.

    最后main测试方法中添加一些代码用以输出执行生成的SQL查询。

    youdao

  • You may have several.tspec files for each test method; they will be executed in alphabetic order.

    每个测试方法可以具有多个. tspec文件它们字母顺序执行

    youdao

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

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

    youdao

  • I need to decide if I will have just one test method or many test methods for the different test cases.

    需要决定不同测试用例使用一个测试方法还是多个测试方法

    youdao

  • Within that directory, we have one directory per test method, whose name exactly matches the method name.

    目录中,我们每个测试方法都提供了一个目录,名称完全匹配方法名称。

    youdao

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

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

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